Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get ERROR - Missing google_app_id, Firebase Analytics disabled

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.

like image 944
Karan Singla Avatar asked Jun 25 '26 08:06

Karan Singla


2 Answers

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 build.gradle

app/build.gradle app/build.gradle


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

Required dependencies

like image 57
Almund Avatar answered Jun 27 '26 02:06

Almund


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.

like image 35
Purus Avatar answered Jun 27 '26 02:06

Purus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!