When I am trying to phone authntication I am getting below error.
W/BiChannelGoogleApi(12340): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.goo
I tried everything, this error cost me around three hours, just to make sure if you are trying to send OTP from emulator it will not work since it requires a network, just something else you can check. Good luck!!
I had this error but it happened because I was trying to create an account with same email on my app, I had to remove the account from database and authentication.
My returned code is a little different from yours.
[FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@**5bfaa19**
I have solved this problem. i have a cleared solution of it
follow the steps:
2.second thing is: phone number is in the format of +countrycode then phonenumber(like +918282.....).
hope this is helpful
Weird behaviour, Using android Emulator, connected with firebase when using phone keyboard its working fine but using my PC keyboard, facing this issue
For me I got this stacktrace
getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzak@a73de51
I forgot to enable the Sign-In Provider
in the Firebase Console. I solved it after enabling Phone Provider
under the sign-in method tab of Authentication Section.
Also I got another kind of same error
getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzak@a73de51 I/flutter ( 2870): The format of the phone number provided is incorrect.
Initially I sent only mobile number without country code. Then I just sent the phone number with country code.
For example : +91 8811111111
It worked perfectly.