From e94f4f2e380a458de07f14f33ab14d79cf043b24 Mon Sep 17 00:00:00 2001 From: guoxianzhe <53285945+guoxianzhe@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:06:53 +0800 Subject: [PATCH] fix: The issue of call API with an invalid data type may cause crash (#847) --- .github/workflows/build.yml | 6 +++--- .github/workflows/ci.yml | 2 +- android/build.gradle | 2 +- example/ios/Podfile.lock | 10 +++++----- react-native-agora.podspec | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f006d6c4..086615be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: jobs: build-android: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: TURBO_CACHE_DIR: .turbo/android turbo_cache_hit: 0 @@ -158,7 +158,7 @@ jobs: - name: Upload IPA uses: actions/upload-artifact@v3 with: - name: AgoraRtcNgExample + name: AgoraRtcNgExample-${{ github.run_id }} path: | example/ios/*.ipa if-no-files-found: error @@ -166,7 +166,7 @@ jobs: - name: Upload dSYM uses: actions/upload-artifact@v3 with: - name: AgoraRtcNgExampleSymbol + name: AgoraRtcNgExampleSymbol-${{ github.run_id }} path: | example/ios/*.dSYM.zip if-no-files-found: error diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c99dc79..db0fc8c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: strategy: matrix: newArch: [true, false] - runs-on: macos-13 + runs-on: ubuntu-22.04 env: TURBO_CACHE_DIR: .turbo/android ORG_GRADLE_PROJECT_newArchEnabled: ${{ matrix.newArch }} diff --git a/android/build.gradle b/android/build.gradle index b2a1f1d3..fce406b3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -166,7 +166,7 @@ dependencies { implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') api 'io.agora.rtc:agora-special-full:4.5.0.1' implementation 'io.agora.rtc:full-screen-sharing:4.5.0.1' - implementation 'io.agora.rtc:iris-rtc:4.5.0-build.1' + implementation 'io.agora.rtc:iris-rtc:4.5.0-build.2' } if (isNewArchitectureEnabled()) { diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b83a1c4a..51bbce3d 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,6 +1,6 @@ PODS: - AgoraInfra_iOS (1.2.13) - - AgoraIrisRTC_iOS (4.5.0-build.1) + - AgoraIrisRTC_iOS (4.5.0-build.2) - AgoraRtcEngine_iOS (4.5.0): - AgoraRtcEngine_iOS/AIAEC (= 4.5.0) - AgoraRtcEngine_iOS/AIAECLL (= 4.5.0) @@ -417,8 +417,8 @@ PODS: - React-jsinspector (0.72.12) - React-logger (0.72.12): - glog - - react-native-agora (4.4.0): - - AgoraIrisRTC_iOS (= 4.5.0-build.1) + - react-native-agora (4.5.0): + - AgoraIrisRTC_iOS (= 4.5.0-build.2) - AgoraRtcEngine_iOS (= 4.5.0) - RCT-Folly (= 2021.07.22.00) - React-Core @@ -754,7 +754,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AgoraInfra_iOS: 65e11a2183ab7836258768868d06058c22701b13 - AgoraIrisRTC_iOS: 8207edf56ceaae6b8ee773d8e2137c6b7cb062be + AgoraIrisRTC_iOS: 67278818a420cf54184a197f7b47afb23704d7e2 AgoraRtcEngine_iOS: 38b5e0a49bbad5616f284e6a4f9e4f5bb3fb3b2e boost: 7dcd2de282d72e344012f7d6564d024930a6a440 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 @@ -789,7 +789,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 95bdf0ab46024ca9849e08739b6abd8fe489cd33 React-jsinspector: 8e291ed0ab371314de269001d6b9b25db6aabf42 React-logger: d4010de0b0564e63637ad08373bc73b5d919974b - react-native-agora: e851f18fa99b8ff8cb38bd2f2b7d17f06fd1a470 + react-native-agora: 4874a8adf0ca14572feb7fafdc9f4bc69270be83 react-native-image-tools: 88218449791389bbf550a2c475a3b564c8233c8b react-native-safe-area-context: 7aa8e6d9d0f3100a820efb1a98af68aa747f9284 react-native-slider: 1cdd6ba29675df21f30544253bf7351d3c2d68c4 diff --git a/react-native-agora.podspec b/react-native-agora.podspec index 2d318d16..2441579d 100644 --- a/react-native-agora.podspec +++ b/react-native-agora.podspec @@ -41,7 +41,7 @@ Pod::Spec.new do |s| end s.dependency 'AgoraRtcEngine_iOS', '4.5.0' - s.dependency 'AgoraIrisRTC_iOS', '4.5.0-build.1' + s.dependency 'AgoraIrisRTC_iOS', '4.5.0-build.2' s.libraries = 'stdc++' s.framework = 'ReplayKit' end