FirebaseAuth: getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@489

前端 未结 17 1868
孤街浪徒
孤街浪徒 2020-12-17 16:04

When I am trying to phone authntication I am getting below error.

W/BiChannelGoogleApi(12340): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.goo         


        
相关标签:
17条回答
  • 2020-12-17 16:55

    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!!

    0 讨论(0)
  • 2020-12-17 16:56

    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**
    
    0 讨论(0)
  • 2020-12-17 16:57

    I have solved this problem. i have a cleared solution of it

    follow the steps:

    1. first go to firebase , then authentication and enable the call verification.

    2.second thing is: phone number is in the format of +countrycode then phonenumber(like +918282.....).

    hope this is helpful

    0 讨论(0)
  • 2020-12-17 16:57

    Weird behaviour, Using android Emulator, connected with firebase when using phone keyboard its working fine but using my PC keyboard, facing this issue

    0 讨论(0)
  • 2020-12-17 16:59

    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.

    0 讨论(0)
提交回复
热议问题