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

Error status 10: sign In works in Dev but not from Google Play Store #17

Open
oakleaf opened this issue Oct 16, 2017 · 4 comments
Open

Comments

@oakleaf
Copy link

oakleaf commented Oct 16, 2017

Hello, this module works fine for us in development, and even when we sign in for Google Play release. But the problem is when the app is downloaded from Google Play, it doesnt work.

We use this module for another app as well, and on that app it works well. I have followed all steps necessary from this tutorial, added the SHA1 from both keystore files.

And since it works fine in the development app, it means that our Google Client ID is correct(?)

However, we received this error from the "error" callback:

[INFO] : {"type":"error","source":{"apiName":"Ti.Module","bubbleParent":true,"invocationAPIs":[],"_events":{"login":{},"error":{}}},"message":null,"status":10,"success":false,"bubbles":false,"cancelBubble":false}

Not sure what to do with it, it doesnt give us any information what goes wrong.

@oakleaf
Copy link
Author

oakleaf commented Oct 18, 2017

I have tried with alot of different Android SDKs and a bunch of different Titanium SDKs too. No matter what I try, there's no difference. Sometimes the authentication works (Im getting a token from the success callback) but mostly, it's not working. It's so super weird since I can restart my device, re-download from Google Play - and sometimes this is enough to make it work.

The next time I restart the app and tries again, it doesnt work.

@oakleaf
Copy link
Author

oakleaf commented Oct 18, 2017

Found the issue, this might be good for you to have in the documentation:
https://stackoverflow.com/questions/37376939/google-sign-in-android-with-firebase-statuscode-developer-error/46150573#46150573

@jaredwa
Copy link

jaredwa commented Mar 15, 2018

+1 for putting this in documentation - also, maybe rename this ticket to "ERROR 10?"

@chmiiller
Copy link
Collaborator

OMG, awesome findings @oakleaf !
I'm going to add that to the docs soon, but I have a question: where/how do you check this Google Play Console -> Release Management -> App Signing mentioned on the SO post in a Titanium project?
Thanks!

@chmiiller chmiiller changed the title Empty error, works in dev but not in production Error status 10. Sign In works in Dev but not from Google Play Store Apr 24, 2018
@chmiiller chmiiller changed the title Error status 10. Sign In works in Dev but not from Google Play Store Error status 10: sign In works in Dev but not from Google Play Store Apr 24, 2018
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

3 participants