- Find your API key under “api-key” in your google-services.json file.
- Go to app/build/generated/res/google-services/debug/values/values.xml
- Replace both google_api_key and google_crash_reporting_api_key values (which will be “XXXX…”) with your API key.
- Go to Build > Clean Project
- Run your app again. In the logs, search for “FCM Token” and you should see a token value if successful 🙂