androidflutterpush-notificationfirebase-cloud-messaging

Flutter: Missing google_app_id. Firebase Analytics disabled


I want to send a notification from a device to another but when I sent it I got in the receiver device :

D/FLTFireMsgReceiver( 8876): broadcast received for message
E/FA      ( 8876): Missing google_app_id. Firebase Analytics disabled. See ...

enter image description here I searched in the internet but no solution works from me so I add all the verification that I found that they need to be :

In the ProjectName/android/app/Build.gradle :

In the Build.gradle.

In the ProjectName/android/Build.gradle :

enter image description here

And I added the google-services.json in the path "ProjectName/android/app/"

enter image description here


Solution

  • The problem is the API Firebase Analytics is not installed so if you need to install it and activate it :

    You must follow Literally the SDK setup and configuration of google: enter image description here

    enter image description here

    enter image description here

    Then restart your Pc or Mac.