From fa070940e0466c15511c3cb5a0618236e2258c9b Mon Sep 17 00:00:00 2001 From: Arthas Date: Fri, 30 Jun 2023 15:51:51 +0800 Subject: [PATCH] feat: support native 4.2.1 (#670) --- android/build.gradle | 6 +-- example/ios/Podfile | 2 +- example/ios/Podfile.lock | 80 +++++++++++++++++++------------------- package.json | 2 +- react-native-agora.podspec | 4 +- 5 files changed, 47 insertions(+), 47 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 418a6aae3..79aedd430 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -80,9 +80,9 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') - api 'io.agora.rtc:full-sdk:4.2.0' - implementation 'io.agora.rtc:full-screen-sharing:4.2.0' - implementation 'io.agora.rtc:iris-rtc:4.2.0-build.3' + api 'io.agora.rtc:full-sdk:4.2.1' + implementation 'io.agora.rtc:full-screen-sharing:4.2.1' + implementation 'io.agora.rtc:iris-rtc:4.2.1-build.1' } if (isNewArchitectureEnabled()) { diff --git a/example/ios/Podfile b/example/ios/Podfile index 96cd4fbfe..c228c7266 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -60,5 +60,5 @@ target 'AgoraRtcNgExample' do end target 'ScreenShare' do - pod 'AgoraRtcEngine_iOS', '4.2.0' + pod 'AgoraRtcEngine_iOS', '4.2.1' end diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 4e4e80270..19a742199 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,34 +1,34 @@ PODS: - - AgoraIrisRTC_iOS (4.2.0-build.3) - - AgoraRtcEngine_iOS (4.2.0): - - AgoraRtcEngine_iOS/AIAEC (= 4.2.0) - - AgoraRtcEngine_iOS/AINS (= 4.2.0) - - AgoraRtcEngine_iOS/AudioBeauty (= 4.2.0) - - AgoraRtcEngine_iOS/ClearVision (= 4.2.0) - - AgoraRtcEngine_iOS/ContentInspect (= 4.2.0) - - AgoraRtcEngine_iOS/DRM (= 4.2.0) - - AgoraRtcEngine_iOS/FaceDetection (= 4.2.0) - - AgoraRtcEngine_iOS/ReplayKit (= 4.2.0) - - AgoraRtcEngine_iOS/RtcBasic (= 4.2.0) - - AgoraRtcEngine_iOS/SpatialAudio (= 4.2.0) - - AgoraRtcEngine_iOS/VideoCodecDec (= 4.2.0) - - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.2.0) - - AgoraRtcEngine_iOS/VirtualBackground (= 4.2.0) - - AgoraRtcEngine_iOS/VQA (= 4.2.0) - - AgoraRtcEngine_iOS/AIAEC (4.2.0) - - AgoraRtcEngine_iOS/AINS (4.2.0) - - AgoraRtcEngine_iOS/AudioBeauty (4.2.0) - - AgoraRtcEngine_iOS/ClearVision (4.2.0) - - AgoraRtcEngine_iOS/ContentInspect (4.2.0) - - AgoraRtcEngine_iOS/DRM (4.2.0) - - AgoraRtcEngine_iOS/FaceDetection (4.2.0) - - AgoraRtcEngine_iOS/ReplayKit (4.2.0) - - AgoraRtcEngine_iOS/RtcBasic (4.2.0) - - AgoraRtcEngine_iOS/SpatialAudio (4.2.0) - - AgoraRtcEngine_iOS/VideoCodecDec (4.2.0) - - AgoraRtcEngine_iOS/VideoCodecEnc (4.2.0) - - AgoraRtcEngine_iOS/VirtualBackground (4.2.0) - - AgoraRtcEngine_iOS/VQA (4.2.0) + - AgoraIrisRTC_iOS (4.2.1-build.1) + - AgoraRtcEngine_iOS (4.2.1): + - AgoraRtcEngine_iOS/AIAEC (= 4.2.1) + - AgoraRtcEngine_iOS/AINS (= 4.2.1) + - AgoraRtcEngine_iOS/AudioBeauty (= 4.2.1) + - AgoraRtcEngine_iOS/ClearVision (= 4.2.1) + - AgoraRtcEngine_iOS/ContentInspect (= 4.2.1) + - AgoraRtcEngine_iOS/DRM (= 4.2.1) + - AgoraRtcEngine_iOS/FaceDetection (= 4.2.1) + - AgoraRtcEngine_iOS/ReplayKit (= 4.2.1) + - AgoraRtcEngine_iOS/RtcBasic (= 4.2.1) + - AgoraRtcEngine_iOS/SpatialAudio (= 4.2.1) + - AgoraRtcEngine_iOS/VideoCodecDec (= 4.2.1) + - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.2.1) + - AgoraRtcEngine_iOS/VirtualBackground (= 4.2.1) + - AgoraRtcEngine_iOS/VQA (= 4.2.1) + - AgoraRtcEngine_iOS/AIAEC (4.2.1) + - AgoraRtcEngine_iOS/AINS (4.2.1) + - AgoraRtcEngine_iOS/AudioBeauty (4.2.1) + - AgoraRtcEngine_iOS/ClearVision (4.2.1) + - AgoraRtcEngine_iOS/ContentInspect (4.2.1) + - AgoraRtcEngine_iOS/DRM (4.2.1) + - AgoraRtcEngine_iOS/FaceDetection (4.2.1) + - AgoraRtcEngine_iOS/ReplayKit (4.2.1) + - AgoraRtcEngine_iOS/RtcBasic (4.2.1) + - AgoraRtcEngine_iOS/SpatialAudio (4.2.1) + - AgoraRtcEngine_iOS/VideoCodecDec (4.2.1) + - AgoraRtcEngine_iOS/VideoCodecEnc (4.2.1) + - AgoraRtcEngine_iOS/VirtualBackground (4.2.1) + - AgoraRtcEngine_iOS/VQA (4.2.1) - boost (1.76.0) - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) @@ -359,9 +359,9 @@ PODS: - React-jsinspector (0.71.4) - React-logger (0.71.4): - glog - - react-native-agora (4.2.0-rc.1): - - AgoraIrisRTC_iOS (= 4.2.0-build.3) - - AgoraRtcEngine_iOS (= 4.2.0) + - react-native-agora (4.2.1-beta.1): + - AgoraIrisRTC_iOS (= 4.2.1-build.1) + - AgoraRtcEngine_iOS (= 4.2.1) - React-Core - react-native-agora-rawdata (0.1.0): - React-Core @@ -478,7 +478,7 @@ PODS: - Yoga (~> 1.14) DEPENDENCIES: - - AgoraRtcEngine_iOS (= 4.2.0) + - AgoraRtcEngine_iOS (= 4.2.1) - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) @@ -663,11 +663,11 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - AgoraIrisRTC_iOS: 401703d4d44b0d0e4f060993272397d1ba4ce7ca - AgoraRtcEngine_iOS: ab13aeb715fc00abc91c4f5c0baab9f05ad79aae + AgoraIrisRTC_iOS: 4c6cb9df772dacba4e0dccb00178378454d03fde + AgoraRtcEngine_iOS: bbbacbf4797a6f85532c6023b72c4d66f2b49227 boost: 57d2868c099736d80fcd648bf211b4431e51a558 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 + DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de FBLazyVector: 446e84642979fff0ba57f3c804c2228a473aeac2 FBReactNativeSpec: 241709e132e3bf1526c1c4f00bc5384dd39dfba9 Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0 @@ -680,7 +680,7 @@ SPEC CHECKSUMS: Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541 FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 - glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b + glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 hermes-engine: a1f157c49ea579c28b0296bda8530e980c45bdb3 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c @@ -698,7 +698,7 @@ SPEC CHECKSUMS: React-jsiexecutor: d6b7fa9260aa3cb40afee0507e3bc1d17ecaa6f2 React-jsinspector: 1f51e775819199d3fe9410e69ee8d4c4161c7b06 React-logger: 0d58569ec51d30d1792c5e86a8e3b78d24b582c6 - react-native-agora: 345b398484c68f713d77469fae7a099a24cb03c7 + react-native-agora: f607be45a377188ac007c18a8a3c3340df67abe9 react-native-agora-rawdata: 097895cdccd8fcf3cff5dffe23372f5d3c89fd31 react-native-image-tools: 88218449791389bbf550a2c475a3b564c8233c8b react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc @@ -726,6 +726,6 @@ SPEC CHECKSUMS: Yoga: 79dd7410de6f8ad73a77c868d3d368843f0c93e0 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: e172426cd70b3c3cd5717b26f82a87930b4312b9 +PODFILE CHECKSUM: 797f71a9699822f93dfe09e5494c1d1ab24d4c42 COCOAPODS: 1.12.0 diff --git a/package.json b/package.json index d244cce41..8b8bc06c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-agora", - "version": "4.2.0", + "version": "4.2.1-beta.1", "description": "Agora RTC SDK For React Native", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native-agora.podspec b/react-native-agora.podspec index 8bf2a931c..2c974cabd 100644 --- a/react-native-agora.podspec +++ b/react-native-agora.podspec @@ -17,8 +17,8 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,mm}" s.dependency "React-Core" - s.dependency 'AgoraRtcEngine_iOS', '4.2.0' - s.dependency 'AgoraIrisRTC_iOS', '4.2.0-build.3' + s.dependency 'AgoraRtcEngine_iOS', '4.2.1' + s.dependency 'AgoraIrisRTC_iOS', '4.2.1-build.1' s.weak_frameworks = 'AgoraAiNoiseSuppressionExtension', 'AgoraAudioBeautyExtension', 'AgoraClearVisionExtension', 'AgoraContentInspectExtension', 'AgoraSpatialAudioExtension', 'AgoraVideoSegmentationExtension', 'AgoraAiEchoCancellationExtension', 'AgoraDrmLoaderExtension', 'AgoraVideoQualityAnalyzerExtension', 'AgoraFaceDetectionExtension', 'AgoraVideoEncoderExtension', 'video_enc', 'AgoraVideoDecoderExtension', 'video_dec', 'AgoraReplayKitExtension' s.libraries = 'stdc++' s.framework = 'ReplayKit'