Skip to content

Commit fbb3cbb

Browse files
authored
chore: Fix example app build failures on CI (#1048)
Fixes example app build failure caused by androidx.core:core-ktx 1.18.0 requiring AGP 8.9.1+.
1 parent 094b956 commit fbb3cbb

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Nov 14 15:55:14 CST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-all.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

example/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version '8.7.2' apply false
21+
id "com.android.application" version '8.9.1' apply false
2222
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ dependencies:
2525
livekit_client:
2626
path: ../
2727

28+
dependency_overrides:
29+
# Pin packages that use Apple APIs unavailable on CI runner's Xcode version.
30+
connectivity_plus: '>=7.0.0 <7.1.0' # NWPath.isUltraConstrained
31+
device_info_plus: '>=12.3.0 <12.4.0' # NSProcessInfo.isiOSAppOnVision
32+
2833
dev_dependencies:
2934
flutter_test:
3035
sdk: flutter

0 commit comments

Comments
 (0)