Skip to content
Open

Lite #2410

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ buildscript {
google()
mavenCentral()
}

}

rootProject.allprojects {
Expand Down Expand Up @@ -62,13 +61,15 @@ dependencies {
// iris dependencies end

// native dependencies start
api 'io.agora.rtc:full-sdk:4.5.2'
api 'io.agora.rtc:full-screen-sharing:4.5.2'
// Replace full SDK with Lite SDK
api 'io.agora.rtc:lite-sdk:4.5.2'
// Remove full-screen-sharing (not needed in Lite)
// api 'io.agora.rtc:full-screen-sharing:4.5.2'
// native dependencies end
}
}

static boolean isDev(Project project) {
def devFile = project.file('.plugin_dev')
return devFile.exists()
}
}
13 changes: 8 additions & 5 deletions ios/agora_rtc_engine.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint agora_rtc_engine.podspec` to validate before publishing.
#

require "yaml"
require "ostruct"
project = OpenStruct.new YAML.load_file("../pubspec.yaml")
Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.license = { :file => '../LICENSE' }
s.author = { 'Agora' => '[email protected]' }
s.source = { :path => '.' }
s.source_files = 'agora_rtc_engine/Sources/**/*.{h,mm,m,swift}'
s.source_files = 'agora_rtc_engine/Sources/**/*.{h,mm,m,swift}'
s.dependency 'Flutter'

plugin_dev_path = File.join(File.dirname(File.realpath(__FILE__)), '.plugin_dev')
Expand All @@ -27,8 +27,8 @@ Pod::Spec.new do |s|
s.dependency 'AgoraIrisRTC_iOS', '4.5.2-build.1'
# iris dependencies end

# native dependencies start
s.dependency 'AgoraRtcEngine_iOS', '4.5.2'
# native dependencies start (REPLACED with Lite SDK)
s.dependency 'AgoraRtcEngine_iOS_Lite', '4.5.2'
# native dependencies end
end

Expand All @@ -37,5 +37,8 @@ Pod::Spec.new do |s|
s.libraries = 'stdc++'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
}
end