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
Got this solved , seems to be confusion between client id across multiple platforms :S
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 got this problem also. Could u please tell me how to fix that problem. What do you mean confusion between client id ...
Thanks
@baotoan1905 - I am assuming that problem is caused either by debug keystore or it's hash provided to google console. I've tested it with release configuration and everything works as it should (remember to add signature hashes to google or firebase dev console). That being said - i've tested my workflow using ios simulator, and when it started to work I've built release apk and verified it on android device.
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
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
I have the same problem..
the sample didnt work
await GoogleSignin.configure({
webClientId: '603421766430-60og8n04mebic8hi49u1mrcmcdmugnd5.apps.googleusercontent.com',
offlineAccess: false
});
neither does my own webClientId
Please make you have added SHA1 code in both firebase service and api key
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 }
Beside adding the correct SHA-1 for both Debug and Release Keys I had to download a new google-services.json as well. Afterwards it worked.
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.
I followed these steps when I got the error -> https://support.google.com/googleapi/answer/6158849?hl=en#installedapplications&android
1. Create a firebase project
2. Create a android app with SH-1 key (
1. Go to Android studio click on gradle by your top right
2. click on App
3. click on Android
4. click on signingReport
5. Copy SHA1 key and use it to create the firebase android app
3. Go to the authentication part of your firebase app (Left side menu)
1. Click on sign in method
2. Web SDK configuration under Google and copy the key paste it in your Web Client ID config
4. Head back to android firebase app and download `google-service.json`
1. it should contain the SH1 just added as `certificate_hash`
This is debug
@ckOfor still not working. Web SDK configuration under Google has automatically the web client id
@uendar same here followed all above steps, still getting this error.
error code {"framesToPop":1, "nativeStackAndroid":[],"userinfo":null,"code":10,"line": 14,"column":1741,"sourceURL":"index.android.bundgle"}
getting this error both in debug and release.
did you solve it?
fixed this issue. Check this.
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
Most helpful comment
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