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

前端 未结 17 1909
孤街浪徒
孤街浪徒 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: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.

提交回复
热议问题