Cannot get firebase working on android
After long tired days of trying to solve my problem, I downloaded the unity firebase example from github and still same problem. Very simple code
void Start()
{
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task =>
{
if (dependencyStatus == Firebase.DependencyStatus.Available)
{
Firebase.Auth.FirebaseAuth auth = Firebase.Auth.FirebaseAuth.DefaultInstance;
auth.CreateUserWithEmailAndPasswordAsync("amam@amam.com", "sssss111");
}
});
}
Is dependency successful ? yes Firebase.DependencyStatus.Available Yes Available no Error
Dose it work in Unity Editor? Yes it works
Can I see the new user on firebase console? Yes
But when it comes to run it on android device not working
The Error comes in Firebase.Auth.FirebaseAuth.DefaultInstance Firebase.InitilizationException: Firebase app creation failed
What I did wrong?
Using Unity 2020.1.0b7
Your answer
Follow this Question
Related Questions
Unity3d 5 failed to re-package resources (Android build problem) 1 Answer
Unity Remote 5 Not Connecting 3 Answers
Unity WebGL Disable mobile warning 12 Answers
What is Unity looking for in the sdk folder to accapt it? (UNity 5.5.2f) 0 Answers
Ui turns into black on Android device irregularly. 0 Answers