Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default FirebaseApp is not initialized in this context... #463

Open
Yahya0007 opened this issue Apr 25, 2023 · 3 comments
Open

Default FirebaseApp is not initialized in this context... #463

Yahya0007 opened this issue Apr 25, 2023 · 3 comments

Comments

@Yahya0007
Copy link

Yahya0007 commented Apr 25, 2023

Hi

I have downloaded and run the sample on an Android device and I get the attached error.

What am I missing?

I am using my own google-services.json which works in a second project.

Thanks

Regards

Plugin-Firebase

@jitendrajadav
Copy link

I am same getting issue please inform work around or any fixes

@jerebear12
Copy link

I encountered this issue when attempting to run the sample project and a newly created project. I have tried multiple solutions and so far nothing has worked.

Good references:
Play services solution
A lot of random fixes
Microsoft's solution

@jerebear12
Copy link

Update: I resolved this issue by installing the Xamarin.GooglePlayServices.Basement NuGet package and setting my google-services.json file's build action to GoogleServicesJson. I also installed Xamarin.GooglePlayServices.Base. I am not calling FirebaseApp.InitializeApp(this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants