Enable Firebase debug mode
Use this command to enable firebase debug mode on your device.
adb shell setprop debug.firebase.analytics.app yourappid
Use the following command to check the app id (package name) if you are not sure.
aapt dump badging path-to-your-apk
for example: aapt dump badging c:\myapp.apk
Check google_app_id correctness
And make make sure your app is using the expected google app id especially when the app has variants.
You can use apktool
to un-package your apk, and find the google_app_id
in /res/values/strings
which should be the same as the app id in the firebase project setting.
If the google_app_id
of your apk is not expected, you may need to check if it's using the right google-services.json
.
Clean your project and rebuild, if everything look good.
