From bdb8072bda637d8a9118748a61de750edd82e4d1 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 2 Apr 2026 12:16:41 +0800 Subject: [PATCH 1/5] Bump Android Gradle plugin to 8.9.1 Fixes example app build failure caused by androidx.core:core-ktx 1.18.0 requiring AGP 8.9.1+. Co-Authored-By: Claude Opus 4.6 (1M context) --- .changes/bump-agp-version | 1 + example/android/gradle/wrapper/gradle-wrapper.properties | 2 +- example/android/settings.gradle | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changes/bump-agp-version diff --git a/.changes/bump-agp-version b/.changes/bump-agp-version new file mode 100644 index 000000000..d250ea3e2 --- /dev/null +++ b/.changes/bump-agp-version @@ -0,0 +1 @@ +patch type="fixed" "Bump Android Gradle plugin to 8.9.1" diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index 6365f60e1..57cc1acbd 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Nov 14 15:55:14 CST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/example/android/settings.gradle b/example/android/settings.gradle index 06b2ef256..8c61b9fdc 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -18,7 +18,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version '8.7.2' apply false + id "com.android.application" version '8.9.1' apply false id "org.jetbrains.kotlin.android" version "2.1.0" apply false } From a036d41a80fa4ae54b604077bfb4a4a9d425f8b7 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 2 Apr 2026 12:28:58 +0800 Subject: [PATCH 2/5] Pin connectivity_plus <7.1.0 in example app connectivity_plus 7.1.0 uses NWPath.isUltraConstrained which requires a newer Xcode SDK than current CI runners have, breaking iOS and macOS builds. Co-Authored-By: Claude Opus 4.6 (1M context) --- example/pubspec.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 38fd761a1..c5023cb3e 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -25,6 +25,11 @@ dependencies: livekit_client: path: ../ +dependency_overrides: + # connectivity_plus 7.1.0 uses NWPath.isUltraConstrained which requires + # a newer Xcode SDK than current CI runners have. + connectivity_plus: '>=7.0.0 <7.1.0' + dev_dependencies: flutter_test: sdk: flutter From bcd5f420d4ef449bc6652df6b09743b3ad9ea3cf Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 2 Apr 2026 12:44:12 +0800 Subject: [PATCH 3/5] Pin device_info_plus <12.4.0 in example app device_info_plus 12.4.0 uses NSProcessInfo.isiOSAppOnVision which requires a newer Xcode SDK than current CI runners have, breaking the iOS build. Co-Authored-By: Claude Opus 4.6 (1M context) --- example/pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c5023cb3e..f5ff1805e 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -26,9 +26,9 @@ dependencies: path: ../ dependency_overrides: - # connectivity_plus 7.1.0 uses NWPath.isUltraConstrained which requires - # a newer Xcode SDK than current CI runners have. - connectivity_plus: '>=7.0.0 <7.1.0' + # Pin packages that use Apple APIs unavailable on CI runner's Xcode version. + connectivity_plus: '>=7.0.0 <7.1.0' # NWPath.isUltraConstrained + device_info_plus: '>=12.3.0 <12.4.0' # NSProcessInfo.isiOSAppOnVision dev_dependencies: flutter_test: From 1756e674066fa1d33d1e65e70e0f5a7efdfeca3a Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:01:28 +0800 Subject: [PATCH 4/5] Update changelog entry to reflect example app scope Co-Authored-By: Claude Opus 4.6 (1M context) --- .changes/bump-agp-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/bump-agp-version b/.changes/bump-agp-version index d250ea3e2..7144f3ba3 100644 --- a/.changes/bump-agp-version +++ b/.changes/bump-agp-version @@ -1 +1 @@ -patch type="fixed" "Bump Android Gradle plugin to 8.9.1" +patch type="fixed" "Fix example app build failures on CI" From 7b9338c2f0efe588394c9ce105b5689116066f23 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:02:38 +0800 Subject: [PATCH 5/5] Remove changelog entry, this is a chore Co-Authored-By: Claude Opus 4.6 (1M context) --- .changes/bump-agp-version | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .changes/bump-agp-version diff --git a/.changes/bump-agp-version b/.changes/bump-agp-version deleted file mode 100644 index 7144f3ba3..000000000 --- a/.changes/bump-agp-version +++ /dev/null @@ -1 +0,0 @@ -patch type="fixed" "Fix example app build failures on CI"