react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 876 forks source link

web application token get DEVELOPER_ERROR #1182

Closed aminekhalifa92 closed 11 months ago

aminekhalifa92 commented 12 months ago

Hello everyone, I have implemented this library and it works perfectly fine for a period, but now i get this error DEVELOPER_ERROR

GoogleSignin.configure({ webClientId: clientId, offlineAccess: true, });

clientId: application web token

i checked my token is active in google console. Did anyone experience any similar issues?

Environment

Yashtechnosters commented 11 months ago

i'm also facing this issue for almost 1 month if you find any solution please ping me.

"react-native": "0.71.5", "react": "18.2.0", "@react-native-google-signin/google-signin": "^10.0.1", Android gradle-7.5.1

aminekhalifa92 commented 11 months ago

I tested the package on a different project but it doesn't work "react-native": "0.71.8", "react": "18.2.0", "@react-native-google-signin/google-signin": "^10.0.1",

vonovak commented 11 months ago

Hello and thanks for reporting, a DEVELOPER_ERROR is exactly what is says it is - a misconfiguration by the developer.

If you've been facing the issue for almost a month, I can fix it for you as outlined here: https://github.com/react-native-google-signin/google-signin/blob/master/docs/android-guide.md#im-getting-an-error-and-im-not-able-to-fix-it

I'm going to close this because it's not an issue with this library but with your project configuration. Thank you 🙂

aminekhalifa92 commented 11 months ago

solved i generating the APK by using keystore Win i removed is now functioning. Probably is keystore validity ps : auth without firebase

ntalamdotcom commented 10 months ago

Hi, I also have the same problem, and there is a lot of people with the same. If a misconfiguration happens a lot, the documentation is not useful enough

aminekhalifa92 commented 10 months ago

Hello @ntalamdotcom this solution worked for 1 day mdr https://github.com/react-native-google-signin/google-signin/issues/1182#issuecomment-1650103449 Finally, I used the auth with firebase is now functioning.

schrodingersca8 commented 9 months ago

solved i generating the APK by using keystore Win i removed is now functioning. Probably is keystore validity ps : auth without firebase

Hi, can you please help me figure this out? I did not understand your solution. I generated the apk using 'npx expo run:android' after that i downloaded eas.json file and run 'eas credentials' to generate a keystore.