From b0a76c0d4b52e00d629a9ef16adc944c204aa302 Mon Sep 17 00:00:00 2001 From: Alex Shepeliev Date: Sun, 21 Apr 2024 18:07:54 +0300 Subject: [PATCH] Upgrade WebRTC SDK: Android 114.5735.10, iOS 114.5735.09 (#113) --- gradle/libs.versions.toml | 5 +++-- sample/composeApp/build.gradle.kts | 2 +- sample/composeApp/composeApp.podspec | 2 +- webrtc-kmp/build.gradle.kts | 4 ++-- webrtc-kmp/webrtc_kmp.podspec | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 54aa1027..d8ceb219 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,7 +14,8 @@ accompanist-permision = "0.34.0" compose = "1.6.6" kermit = "2.0.3" kotlin-wrappers = "1.0.0-pre.732" -webrtc-sdk = "114.5735.02" +webrtc-android-sdk = "114.5735.10" +webrtc-ios-sdk = "114.5735.09" #Android minSdk = "21" @@ -28,7 +29,7 @@ nexus = "1.3.0" compose-plugin = "1.6.2" [libraries] -webrtc-sdk = { module = "io.github.webrtc-sdk:android", version.ref = "webrtc-sdk" } +webrtc-sdk = { module = "io.github.webrtc-sdk:android", version.ref = "webrtc-android-sdk" } kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlin-coroutines" } kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlin-coroutines" } androidx-coreKtx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } diff --git a/sample/composeApp/build.gradle.kts b/sample/composeApp/build.gradle.kts index a73ab43c..a41e657a 100644 --- a/sample/composeApp/build.gradle.kts +++ b/sample/composeApp/build.gradle.kts @@ -20,7 +20,7 @@ kotlin { ios.deploymentTarget = "13.0" pod("WebRTC-SDK") { - version = "114.5735.02" + version = libs.versions.webrtc.ios.sdk.get() moduleName = "WebRTC" packageName = "WebRTC" } diff --git a/sample/composeApp/composeApp.podspec b/sample/composeApp/composeApp.podspec index 470d17da..da4e9b65 100644 --- a/sample/composeApp/composeApp.podspec +++ b/sample/composeApp/composeApp.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| spec.vendored_frameworks = 'build/cocoapods/framework/composeApp.framework' spec.libraries = 'c++' spec.ios.deployment_target = '13.0' - spec.dependency 'WebRTC-SDK', '114.5735.02' + spec.dependency 'WebRTC-SDK', '114.5735.09' if !Dir.exist?('build/cocoapods/framework/composeApp.framework') || Dir.empty?('build/cocoapods/framework/composeApp.framework') raise " diff --git a/webrtc-kmp/build.gradle.kts b/webrtc-kmp/build.gradle.kts index 0080a4df..4c11bbb7 100644 --- a/webrtc-kmp/build.gradle.kts +++ b/webrtc-kmp/build.gradle.kts @@ -17,10 +17,10 @@ kotlin { version = webRtcKmpVersion summary = "WebRTC Kotlin Multiplatform SDK" homepage = "https://github.com/shepeliev/webrtc-kmp" - ios.deploymentTarget = "10.0" + ios.deploymentTarget = "13.0" pod("WebRTC-SDK") { - version = "114.5735.02" + version = libs.versions.webrtc.ios.sdk.get() moduleName = "WebRTC" packageName = "WebRTC" } diff --git a/webrtc-kmp/webrtc_kmp.podspec b/webrtc-kmp/webrtc_kmp.podspec index 3bb2d221..cb2ae6b6 100644 --- a/webrtc-kmp/webrtc_kmp.podspec +++ b/webrtc-kmp/webrtc_kmp.podspec @@ -8,8 +8,8 @@ Pod::Spec.new do |spec| spec.summary = 'WebRTC Kotlin Multiplatform SDK' spec.vendored_frameworks = 'build/cocoapods/framework/webrtc_kmp.framework' spec.libraries = 'c++' - spec.ios.deployment_target = '10.0' - spec.dependency 'WebRTC-SDK', '114.5735.02' + spec.ios.deployment_target = '13.0' + spec.dependency 'WebRTC-SDK', '114.5735.09' if !Dir.exist?('build/cocoapods/framework/webrtc_kmp.framework') || Dir.empty?('build/cocoapods/framework/webrtc_kmp.framework') raise "