Skip to content
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

Google SignIn Error 12500 #47

Closed
muaviaUsmani opened this issue Apr 13, 2020 · 13 comments
Closed

Google SignIn Error 12500 #47

muaviaUsmani opened this issue Apr 13, 2020 · 13 comments

Comments

@muaviaUsmani
Copy link

Something has changed over the past 2-3 days that's now causing this problem. Last week this was working fine for me. I've updated to version 2.0.1 (though I was already on version 2.0.0) but to no avail.

Screenshot 2020-04-13 at 2 59 47 PM

@thibaud-sanchez
Copy link
Contributor

You must update your base play service to 18 I think : #43

@muaviaUsmani
Copy link
Author

Its already using the play service 18. notice the line below highlighted one (com.google.android.gms:play-services-auth@@18.0.0:9)

@muaviaUsmani
Copy link
Author

Other probable causes of error 12500 have to do with settings from OAuth screen but that's not the case because its working fine for iOS and web. So the issue is with android only.

@thibaud-sanchez
Copy link
Contributor

thibaud-sanchez commented Apr 20, 2020

The plugin use the auth version 18, but seems that the base service is version 17 (check the first stack line) and maybe they're not compatibles. Maybe you have another plugin that use version 17 somewhere

@muaviaUsmani
Copy link
Author

I think 17 is the latest base version we have.(?) Looking at this https://developers.google.com/android/guides/setup

@thibaud-sanchez
Copy link
Contributor

Yes, my bad. Maybe, you can try to update to 17.2.1 ?
This is the only modification between 2.0.0 and 2.0.1, so I think the problem is a compatibility problem between versions of play services

@muaviaUsmani
Copy link
Author

That wasn't it. Version updated, but error remains the same.

Screenshot 2020-04-20 at 1 29 09 PM

@thibaud-sanchez
Copy link
Contributor

It could be a problem with your project support email address or sha-1 you used that is not register in google play console :
https://stackoverflow.com/questions/47632035/google-sign-in-error-12500

@muaviaUsmani
Copy link
Author

the client ID was generated from developers' console not firebase, so didn't really have to insert any support email there, nor should sha-1 be the issue since we're using web client ID for android, no?

@thibaud-sanchez
Copy link
Contributor

You must create an android credential with your sha1 despite you use web credential (I already had this problem).

@muaviaUsmani
Copy link
Author

Got it. What location and filename should I put that in? Asking since that's not mentioned in documentation.

@thibaud-sanchez
Copy link
Contributor

Don't use it, just create it on the console, and try it.
Did you put the web clientid in your android string.xml and into capacitor config ?

@muaviaUsmani
Copy link
Author

this works now. creating the android key in console helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants