-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
googlesignin exception #6
Comments
I get a similar error. PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null) Have been trying several things mentioned on stackoverflow for the same. But still no luck. Any help is appreciated. |
Did you set the SHA-1 for your app? See more here: flutter/flutter#25640 (comment) |
Yes I tried that and ensured SHA-1 is added to the firebase console. Still it doesn't work. Anyone has this working? |
i have setted own package name, generate new SHA-1, but no luck |
@viju85 @namdroid Make sure you create a new app on Firebase with the new package name you've decided to keep. While creating the app, add the SHA1 by running the following (more docs)
The password is |
@prakhar1989 thanks, but of course i did this step before like in other apps. |
hi @namdroid did find any solution ? |
@VickySalunkhe @namdroid I finally got it working by following this solution. "You need to add support gmail in settings of firebase" Hope this helps. |
Thanks @viju85 for pointing it out! I'll add that part to the getting started steps. |
i have copied google-service.json to app folder:
Now i get exception at line in emulator and device:
GoogleSignInAccount googleUser = await _googleSignIn.signInSilently();
Exception has occurred.
PlatformException (PlatformException(sign_in_required, com.google.android.gms.common.api.ApiException: 4: 4: , null))
The text was updated successfully, but these errors were encountered: