google-signin: 'WRONG SIGNIN', { [GoogleSigninError: DEVELOPER_ERROR] name: 'GoogleSigninError', code: 10 }

Only for android : iOS work fine.

There is this error WRONG SIGNIN', { [GoogleSigninError: DEVELOPER_ERROR] name: 'GoogleSigninError', code: 10 } when i call GoogleSignin.signIn()

Whats the cause? and how to solve it please ?

I am using the same google-service.json which i got from firebase while setting for push notifications. Which work fine.

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 17

Most upvoted comments

I have same problem. but, in my case, i forgot to upload SHA-1 fingerprint release keystore to the google/firebase console. thanks @baotoan1905 @nehvaleem

hi @cjmling - could you please tell what you supposed to do to be able to sign-in using firebase project? I am struggling with DEVELOPER_ERROR also and tried all combinations of hashes etc, but the error seems to persist. Any help will be appreciated. Thanks!

I have added two SHA1 to Firebase console (because has two developers testing app) this may cause this issue? My Google SignIn not wokring, is throwing the error { [GoogleSigninError: DEVELOPER_ERROR] name: 'GoogleSigninError', code: 10 }

Finally, I figured out the issue. I was using the release keystore but run in debug mode, that why it always returns error. Generating debug keystore and use SHA-1 to download the google services json file solved my problem. Thanks @nehvaleem

Is it mandatory to use a Firebase project? I’m trying to use the google sign in without firebase and got this DEVELOPER_ERROR error

I didnt realize there was a debug keystore already (no need to generate I assume). Check to see if you have it (on Mac OS X it can be found here): ~/.android/debug.keystore

I ran the keytool command on thsi file liek so keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android This gives the generic default password and alias config. I then put the SHA-1 found in the resulting output into my firebase settings config without issue. Then the signin worked perfectly.