I'm using Flutter with Firebase, and recently made a few upgrades. After the update, all Firebase analytics data from Android dropped to zero, while iOS data remains unaffected.
What I changed:
Flutter: Upgraded from 3.19.x → 3.27.x
android/app/build.gradle: compileSdkVersion 34 → 35
android/settings.gradle:
plugins {
id "com.android.application" version "7.1.2" apply false
// changed to
id "com.android.application" version "8.7.0" apply false
}
What I’ve tried:
Upgraded firebase_core and firebase_analytics packages to the latest versions.
Downgraded com.google.gms.google-services from 4.4.x → 4.3.15 according to these issues https://github.com/firebase/flutterfire/issues/12760#issuecomment-2104238576 https://github.com/firebase/flutterfire/issues/12789#issuecomment-2116945257 https://github.com/firebase/flutterfire/issues/12080#issuecomment-1911808826
But Google analytics data from Android is still showing zero events.
Any ideas on what could be wrong? Any help would be greatly appreciated!