Skip to content

🐛 [firebase_analytics] Missing google_app_id. Firebase Analytics disabled. [ANDROID] #11912

@alidev0

Description

@alidev0

Bug report

Describe the bug
After installing firebase on a new app it gives the error "Missing google_app_id. Firebase Analytics disabled.

Steps to reproduce

Steps to reproduce the behavior:

  1. create new app with the flutter sdk [3.16.0].
  2. create new app in firebase, enable analytics.
  3. install Firebase Analytics with flutter fire.
  4. copy paste example code in: https://github.com/firebase/flutterfire/blob/master/packages/firebase_analytics/firebase_analytics/example/lib/main.dart
  5. run app

I also tried to do the installment manually and again through android studio but same result.

Expected behavior

Firebase Analytics should be be able to work.

Flutter dependencies

firebase_core: ^2.22.0
firebase_analytics: ^10.7.0

IOS works fine. Android issue only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions