问题:
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;
- Your SHA1 signing certificate key being used is correct and listed in the Firebase Console's project settings.
- 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.