Custom config provided in code isn't recognized #55
Labels
api: analytics
api: core
closed-by-bot
needs-info
Need information for the developer
stale
Don't have recent activity
type: question
I'm attempting to provide Firebase config using FirebaseApp.Create but Analytics is logging errors that it can't find the google_app_id.
Running on an Android device provides the following logs from logcat
As you can see my
Initializing Firebase
log message happens first. Then the SetProductionEnvironment method is called which from the docs should set the default instance. However all calls to Analytics are generating theMissing google_app_id. Firebase Analytics disabled
log.I don't have any google-services.json file, because I want to do the configuration in code. I'd expect FirebaseApp.Create to set the default instance but that doesn't seem to be the case. What am I missing?
The text was updated successfully, but these errors were encountered: