Google auth is one of the most commonly used Authentication methods in Mobile and web apps. Well, it is also a tricky one as compared to normal use...
For further actions, you may consider blocking this person and/or reporting abuse
after run this cmd
keytool -list -v -keystore app/my_release_key.keystore -alias my_key_alias
in myandroid/app
. I'm getting this errorYeah bcz you have to first generate it using
keytool -genkey -v -keystore my_release_key.keystore -alias my_key_alias -keyalg RSA -keysize 2048 -validity 10000
, then make sure you put right path in list command ( mine was app/name ).Hey, after solving this I'm getting
when i clicked signin with google button
"Yeah, according to google, you have to put your Release Keystore key in Google Console "
4rth heading point in the blog 😅
put this instead this assumes you are inside app folder
Thanks man it worked for me
Man I did everything I mean every line and im still getting LOG [Error:DEVELOPER_ERROR] ive been trying to fix this without exporting everything Ive done to firebase in the hopes that doind so would make it work. Do you have any other ideas as to why the error would still show up even after following everything you said down to the line?
This error basically comes due to Release SHA Key... make sure you paste the same release key in console which your building app with...
Make sure you did 4.1 step correctly (replace debug SHA keystore with release )
Ended up adding the google-services.json from firebase which allows you to input both the SHA Key from debug.keystore in User/.android/bin and the one in the project directory android/app folder so now it works.
Cheers anyways and for release I´ll just follow what you did except I´ll put the generated SHA Key on firebase and redownload the google-services.json.
I got an error with code 10, It was because I had generated the sha-1 with the keystore of the root of my computer; generate with the keystore of the react native project that comes inside the android / app / debug.keystore folder and copy console google oauth android and works.
keytool -keystore android/app/debug.keystore -list -v
Yeah I clearly mentioned that. Although thanks for pointing it, might help someone with similar case :)
My Google SignIn works when running a debug build on device/emulator and even when running a release build with our release keystore on device/emulator.
But when I upload our release aab to Google Play and download it via internal test, I always get Error Code 10 after I tapped the SignIn Button and choose the account.
I double-checked that the app package name in the OAuth Client in Google Cloud Console is correct and I already added the SHA1-fingerprint from the App Signing section in Google Play Console.
Can anyone help? Thanks in advance!
never mind, I just found out that there is a separate SHA-fingerprint section for internal testing in Google Play Console, so I had to add another OAuth client ID in cloud console, now it is working
This is the only guide that works after researching everywhere else.
For those who followed the post and still get an error, remember to also create 2 more android credentials with the SHA-1 you find from google play console. The URL is here:
play.google.com/console/u/0/develo...
I created a dev.to account just to comment on this post. hanks so much for the guide!
I am getting this error [Error: A non-recoverable sign in failure occurred]
Any solution for this error ?
Im using release keystore SHA-1 with firebase.
Could you solve it?
Hey, I am facing an issue regarding google login. I have two components in my React Native app, Login and Signup, on Login I click google login button, pop up opens, user clicks its gmail and gets login, fine no issue.
Even I cancel the pop-up right status code is triggered and flow works as expected.
When I click same google login button in Signup, pop-up opens, if i cancel the pop-up statusCodes.SIGN_IN_CANCELLED should trigger but instead statusCodes.IN_PROGRESS gets triggered and I get this error,
Error: Sign-in in progress
Error Code: 12502
Status Code: ASYNC_OP_IN_PROGRESS
Any thoughts what I am doing wrong, or any configuration is missing ?
I followed all the steps but nothing happens at GoogleSignin.signIn(), no error too. I get true as response from GoogleSignin.hasPlayServices().
Ahh finally found something really useful, was stuck on this for days. Thank you
Hi ! I did everything and im getting:
[Error: A non-recoverable sign in failure occurred]
When i try the GoogleSingUp Function.
Any ideas ?
if we are using web client id , then why we generated the android client ?