firebase login not working in flutter android app

问题: Everything was working good yesterday with firebase auth, today it gives me that error. W/BiChannelGoogleApi(19191): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms...

问题:

Everything was working good yesterday with firebase auth, today it gives me that error.

W/BiChannelGoogleApi(19191): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@138591a
W/DynamiteModule(19191): Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth(19191): [FirebaseAuth:] Loading module via FirebaseOptions.
I/FirebaseAuth(19191): [FirebaseAuth:] Preparing to create service connection to gms implementation
I/flutter (19191): PlatformException(exception, An internal error has occurred. [ Requests from this Android client application com.joycustomers.joybank are blocked. ], null)

回答1:

This looks similar to this as per your error;

Requests from this Android client application com.joycustomers.joybank are blocked.

You'd need to check for two things;

  1. Your SHA1 signing certificate key being used is correct and listed in the Firebase Console's project settings.
  2. You should have the freshest copy of google-services.json from Firebase Console's project settings where you add signing certificate keys. There's a download google-services.json button. Always use the freshest copy whenever you've changed Firebase settings. Read more here.

Update:

OP had updated his Firebase Project settings by changing from Free to Pay as You Go payment plan. This changed his Firebase Project settings and a fresh copy of google-services.json form the Firebase Console fixed the issue.

  • 发表于 2019-03-22 00:42
  • 阅读 ( 360 )
  • 分类:sof

条评论

请先 登录 后评论
不写代码的码农
小编

篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除