flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

Error "Missing google_app_id. Firebase Analytics disabled."

Open harmeet-rgyan opened this issue 4 years ago • 7 comments

I am getting a "Missing google_app_id. Firebase Analytics disabled." error when I am doing firebase setup with FlutterFire Cli, If I am doing it manually I am not getting this error and I am able to see all analytics events in debug view. Here are the logs:

Launching lib\main.dart on DEVICE in debug mode... Running Gradle task 'assembleDebug'... Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Parameter format not correct - Note: C:\Users\USER\FlutterSDK\flutter.pub-cache\hosted\pub.dartlang.org\firebase_analytics-9.0.4\android\src\main\java\io\flutter\plugins\firebase\analytics\FlutterFirebaseAnalyticsPlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... Debug service listening on ws:// Syncing files to device DEVICE. I/FirebaseApp(14534): Device unlocked: initializing all Firebase APIs for app [DEFAULT] E/FA (14534): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI I/Gralloc4(14534): mapper 4.x is not supported W/Gralloc3(14534): mapper 3.x is not supported E/FA (14534): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI

harmeet-rgyan avatar Dec 29 '21 11:12 harmeet-rgyan

Thanks for posting the issue. I'm encountering the same...

gkiwimagi avatar Dec 31 '21 00:12 gkiwimagi

Can we please escalate this? analytics is one of the main things one would want firebase for...

neiljaywarner avatar Feb 16 '22 07:02 neiljaywarner

For me, it's hard to believe that Analytics on Android is not the only fully supported, when the support for iOS, macOS and Web are working as expected. It seams more an issue than an expected behavior of the CLI that only needs a "disclaimer" on the documentation.

euivanw avatar Mar 03 '22 11:03 euivanw

@harmeet-rgyan @ivanwhm @gkiwimagi is this still occurring? overall "vibe" of the docs seem like it's made progress

neiljaywarner avatar Mar 23 '22 14:03 neiljaywarner

Hi @neiljaywarner @harmeet-rgyan @gkiwimagi

According to the doc https://firebase.flutter.dev/docs/cli#usage the problem is occur.

euivanw avatar Mar 23 '22 14:03 euivanw

The issue is still active for me.

7AveNooN7 avatar Aug 30 '22 19:08 7AveNooN7

@harmeet-rgyan Are you sure this is still an issue? Have you activated the latest FF CLI using dart pub global activate flutterfire_cli ?

russellwheatley avatar Sep 28 '22 10:09 russellwheatley

Same error on Android, tried to install from cli. Working on ios.

pandora-house avatar Apr 05 '23 09:04 pandora-house

I've just ran this against the latest dev release and I didn't see any log so I believe it is fixed. Please run flutterfire configure command again with relevant arguments.

russellwheatley avatar Apr 26 '23 16:04 russellwheatley

I'm getting same issue !!

Bridge-Softwares avatar Oct 15 '23 18:10 Bridge-Softwares

This problem is not fixed

andredealmei avatar Oct 15 '23 19:10 andredealmei