From b8d8bab4e5ad6a00040c65cb91ca9eed526e7aff Mon Sep 17 00:00:00 2001 From: Ademola Fadumo <48495111+demolaf@users.noreply.github.com> Date: Mon, 14 Sep 2026 11:26:30 +0100 Subject: [PATCH 1/4] fix(tests): bump FirebaseFirestore Podfile pin to 12.17.0 The tests/ios and tests/macos Podfiles pinned FirebaseFirestore to the invertase/firestore-ios-sdk-frameworks fork tag 12.15.0, last bumped in #663. The resolved cloud_firestore plugin now requires Firebase/Firestore 12.17.0, which conflicts with the stale pin and fails pod install with a CocoaPods resolver error on every e2e run. CPRN-450 --- tests/ios/Podfile | 2 +- tests/macos/Podfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ios/Podfile b/tests/ios/Podfile index c7fc4eaf..161562c6 100644 --- a/tests/ios/Podfile +++ b/tests/ios/Podfile @@ -29,7 +29,7 @@ flutter_ios_podfile_setup target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.15.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.17.0' flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/macos/Podfile b/tests/macos/Podfile index e73c57c4..9af9163c 100644 --- a/tests/macos/Podfile +++ b/tests/macos/Podfile @@ -30,7 +30,7 @@ target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.15.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.17.0' flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do From f119cd1c69349c6879dfad79e0be096037b99283 Mon Sep 17 00:00:00 2001 From: Ademola Fadumo <48495111+demolaf@users.noreply.github.com> Date: Mon, 14 Sep 2026 11:38:22 +0100 Subject: [PATCH 2/4] fix(tests): bump FirebaseFirestore Podfile pin to 12.18.0 12.17.0 was already stale by the time CI ran: cloud_firestore's unpinned ^6.6.0 constraint resolved to 6.9.0 in this run, which requires Firebase/Firestore 12.18.0. CPRN-450 --- tests/ios/Podfile | 2 +- tests/macos/Podfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ios/Podfile b/tests/ios/Podfile index 161562c6..1450c7d9 100644 --- a/tests/ios/Podfile +++ b/tests/ios/Podfile @@ -29,7 +29,7 @@ flutter_ios_podfile_setup target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.17.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.18.0' flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do diff --git a/tests/macos/Podfile b/tests/macos/Podfile index 9af9163c..73dca773 100644 --- a/tests/macos/Podfile +++ b/tests/macos/Podfile @@ -30,7 +30,7 @@ target 'Runner' do use_frameworks! use_modular_headers! - pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.17.0' + pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '12.18.0' flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do From 07b14cb614f6817bcdda946a82292ad9bcfcf30d Mon Sep 17 00:00:00 2001 From: Ademola Fadumo <48495111+demolaf@users.noreply.github.com> Date: Mon, 14 Sep 2026 12:11:25 +0100 Subject: [PATCH 3/4] fix(tests): bump Kotlin Gradle plugin to 2.3.0 for android e2e The tests app pinned org.jetbrains.kotlin.android to 2.1.0, but the transitively-resolved firebase-auth Android AAR (24.2.0, pulled in via the unpinned firebase_auth dependency) is compiled with Kotlin 2.3.0 metadata, which 2.1.0 cannot read: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0. Same class of drift as the FirebaseFirestore Podfile pin, just on Android: an unpinned Firebase dependency moved ahead of a hardcoded version elsewhere in the test app. CPRN-450 --- tests/android/settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/android/settings.gradle b/tests/android/settings.gradle index 45f4c66d..c211ea54 100644 --- a/tests/android/settings.gradle +++ b/tests/android/settings.gradle @@ -19,7 +19,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "8.7.3" apply false - id "org.jetbrains.kotlin.android" version "2.1.0" apply false + id "org.jetbrains.kotlin.android" version "2.3.0" apply false id "com.google.gms.google-services" version "4.4.2" apply false } From 1afd63b5793b9905ea2f0e3c7af59de7032cb07a Mon Sep 17 00:00:00 2001 From: Ademola Fadumo <48495111+demolaf@users.noreply.github.com> Date: Mon, 14 Sep 2026 12:32:10 +0100 Subject: [PATCH 4/4] fix(tests): pin firebase_auth/firebase_core/cloud_firestore exactly Removes the caret ranges on firebase_auth, firebase_core, and cloud_firestore in tests/pubspec.yaml, replacing them with the exact versions currently resolved (firebase_auth 6.6.1, firebase_core 4.14.0, cloud_firestore 6.9.0). These three drive the native-side Firebase SDK version through firebase_core's FirebaseSDKVersion default (34.18.0 Android BOM, 12.18.0 iOS Firebase SDK), which is exactly what the tests/ios and tests/macos Podfile FirebaseFirestore tag and the Kotlin Gradle plugin version have to match. Left floating, any of the three can silently resolve to a newer version on any CI run and break e2e on a completely unrelated PR, which is what happened twice on this branch already. Everything else in the workspace stays unpinned, so the publishable firebase_ui_* packages keep testing against the latest compatible Firebase releases. CPRN-450 --- tests/pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/pubspec.yaml b/tests/pubspec.yaml index 0c1a21fa..93d93347 100644 --- a/tests/pubspec.yaml +++ b/tests/pubspec.yaml @@ -12,8 +12,8 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.6 - firebase_auth: ^6.5.4 - firebase_core: ^4.11.0 + firebase_auth: 6.6.1 + firebase_core: 4.14.0 firebase_ui_auth: ^3.1.0 firebase_ui_localizations: ^2.1.0 firebase_ui_oauth_apple: ^2.1.0 @@ -23,7 +23,7 @@ dependencies: flutter_facebook_auth: ^7.1.2 twitter_login: ^4.4.2 firebase_ui_oauth_twitter: ^2.1.0 - cloud_firestore: ^6.6.0 + cloud_firestore: 6.9.0 firebase_ui_firestore: ^2.1.0 http: ^1.1.2 google_sign_in: ^6.2.1