We are using react-native-google-signIn for android in our project. We have created a project in google developer console and downloaded the google-services.json file. The google-services.json file is placed in android/apps folder.
When we configure the googleSignIn in code , am getting error: 10 code from google.
GoogleSignin.configure({
webClientId:'***********************.apps.googleusercontent.com'
})
If i don't pass the webClientId , the sign-in is successful but idToken is returned as null in the user object.
I made sure that the webClientId value is correct by following [1] and [2].
Any suggestions in this regard will be appreciated.