While using google analytics with flutter, Get
Missing google_app_id. Firebase Analytics disabled. See "https://goo .gl/NAOOOI"
I tried many things but this issue is not gone. I used
"apply plugin: 'com.google.gms.google-services'"
in my android.build.gradle file also.
Edit:
The following instructions are no longer available as they have been replaced with https://firebase.google.com/docs/auth/flutter/start which use the flutterfire configure command to automatically add the needed dependencies.
build.gradle

app/build.gradle

Did you also add in the classpath and implementation parts as per the instructions?

My project was using older version of flutter admob plugin and google-services.json file. The new Admob plugin expects the admob_app_id key-value pair to be present in the json file.
I solved this issue by downloading the new google-services.json file and replacing the old one with the newly downloaded file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With