Default FirebaseApp is not initialized
quintonv opened this issue ยท 1 comments
๐ Bug Report
My app has been working for a while using this plugin. I updated and now it no longer initializes. I have tried many fixes that others sugested. I even downloaded the sample from this repo, and it too fails right away with the same error. I put the contents of my google-services.json in the original and updated the package name of the sample, clean, build, still same error.
Is something in the latest plugin broken or could this be related to something else, like version of Xamarin.Forms or something? I really hoped the sample would work, but with it broken out the box I suspect the plugin or OS is somehow the issue?
Default FirebaseApp is not initialized Make sure to call FirebaseApp.initializeApp(Context) first
Configuration would be the same as the sample app as that too gives me the same error. I tried on Android 25 and on 31.
Adding this plugin to Android worked. You should add it to your sample and the getting started documentation, will help others a lot.
Xamarin.GooglePlayServices.Base