In the previous version 5.0.0 works fine. But in 6.0.0 not able to login getting __DEVELOPER ERROR__.
I'm using application type as web application. And I followed all the procedures vice versa. Also I tried application type as android. It works fine with the IOS without firebase not in android.
Using multiple Client-ID

Error in RN-Console

Android-LogCat while pressing login button I got some issue like this. It's not there in the previous version 5.0.0

This is a Google signin without firebase. This is not happen while using previous version5.0.0. But the current version 6.0.0. works fine with IOS not with android. I spend a whole day to fix this. But still I can't. So please Fix it ASAP. Thanks in advance. If you need any extra info let me know.
I am also facing this issue. Have someone solved this ?
I faced a similar issue. I had to create a new project and add an SHA-1 signing certificate while creating it.

Here's how you can find SHA-1 for the Keystore you are using
Also, don't forget to initialize GoogleSignin
GoogleSignin.configure({
webClientId:
'WEB_CLIENT_ID'
});
To find the WEB_CLIENT_ID, open your google-services.json and find the client_id with client_type:3 which is inside oauth_client array.
"oauth_client": [
{
"client_id": "NOT THIS CLIENT ID",
"client_type": 1,
"android_info": {
"package_name": "com.myapp",
"certificate_hash": "hash"
}
},
{
"client_id": "CORRECT_ONE",
"client_type": 3
}
],
Also, don't forget to update the google-services file if you are recreating the project and make sure signing with google is enabled in firebase.
@rawatnaresh i am facing this issue for google signin without firebase.
@rawatnaresh I'm not using firebase.
@TheChanDI Yeah I have figured out the issue.
Procedure
Step 1: Remove react-native-google-signin/google-signin if you installed and delete build folder from "android/app/", ".gradle" from "android".
Step 2: Now install the package. and Follow their guidelines:
!! Don't follow these steps ==>
- Update android/app/build.gradle with apply plugin: 'com.google.gms.google-services'
Step 3: Go to your developer console and create a OAuth 2.0 Client IDs as Web application and copy client id.
Step 4: Paste the client ID in index.jsimport {GoogleSignin} from '@react-native-google-signin/google-signin'; GoogleSignin.configure({` webClientId: <====your client id here====>, offlineAccess: false, });Step 5: ! Note please don't add this line in string.xml
<string name="server_client_id">YOUR_SERVER_CLIENT_ID</string>
And finally worked for me.
Try it and let me know : 馃憤