From 42c084e273ecbb9914e349dffbf126c2483edb08 Mon Sep 17 00:00:00 2001 From: HUI Date: Thu, 24 Dec 2020 13:54:07 +0800 Subject: [PATCH] feat: build for app-builder --- android/build.gradle | 2 +- example/ios/AgoraExample.xcodeproj/project.pbxproj | 4 +--- react-native-agora.podspec | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c7d29769a..12755d06a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -128,7 +128,7 @@ def kotlin_version = getExtOrDefault('kotlinVersion') dependencies { // noinspection GradleDynamicVersion api 'com.facebook.react:react-native:+' - api "io.agora.rtc:full-sdk:3.1.3" + api "io.agora.rtc:agora-special-full:3.1.4.70" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" } diff --git a/example/ios/AgoraExample.xcodeproj/project.pbxproj b/example/ios/AgoraExample.xcodeproj/project.pbxproj index 72af6b196..5b6e4af9e 100644 --- a/example/ios/AgoraExample.xcodeproj/project.pbxproj +++ b/example/ios/AgoraExample.xcodeproj/project.pbxproj @@ -202,13 +202,11 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-AgoraExample/Pods-AgoraExample-frameworks.sh", - "${PODS_ROOT}/AgoraRtcEngine_iOS_Crypto/Agora_Native_SDK_for_iOS_FULL/libs/AgoraRtcKit.framework", - "${PODS_ROOT}/AgoraRtcEngine_iOS_Crypto/Agora_Native_SDK_for_iOS_FULL/libs/AgoraRtcCryptoLoader.framework", + "${PODS_ROOT}/AgoraRtcEngine_Special_iOS/AgoraRtcKit.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraRtcKit.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AgoraRtcCryptoLoader.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/react-native-agora.podspec b/react-native-agora.podspec index 4e605735b..8f295290f 100644 --- a/react-native-agora.podspec +++ b/react-native-agora.podspec @@ -20,5 +20,5 @@ Pod::Spec.new do |s| s.swift_version = "4.0" s.dependency "React" - s.dependency "AgoraRtcEngine_iOS_Crypto", "3.1.2" + s.dependency "AgoraRtcEngine_Special_iOS", "3.1.4.70" end