I am trying to google sign-in with @react-native-community/google-signing package
i have added fingerprint on Firebase console, almost i have done all configuration steps which are important for google sign-in like enable google-signin on Firebase console and add webClientId in `GoogleSignin.configure({ webClientId: 'weClientId'
});` etc. but still i am facing developer :-[Error: DEVELOPER_ERROR]
please apologies for my poor English and give me a guidance so that i can come out from this error
Use this command to get your real SHA-1
cd android && keytool -list -v -keystore app/debug.keystore
And the password is: android
Put it on your android key on google
Your SHA1 and SHA256 are not correctly added to the Firebase.
Find the .keystore file. If you are having this error on a real device, you must be using other keystore file for that.
List SHA keys using that exact file running: keytool -keystore path-to-keystore-file -list -v
Download google-services.json.
Configure GoogleSignin using client_id from where client_type is 3.
GoogleSignin.configure({
offlineAccess: true,
webClientId: 'your_client_id.apps.googleusercontent.com',
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With