Thedot-in / Startup_LIFE

Startup_LIFE is an online platform for entrepreneurs, dedicated to passionately championing and promoting the entrepreneurial ecosystem in India.
1 stars 1 forks source link

https://stackoverflow.com/questions/54417232/react-native-google-signin-gives-developer-error #3

Open ashwath007 opened 3 years ago

ashwath007 commented 3 years ago

I had this problem too and trawled through many answers saying check your client Id and key hash, both of which I was positive were right.

The thing that got it working for me was I opened OAuth identities in the project management console (not Firebase) at https://console.cloud.google.com/apis/credentials and added an Android Oauth client Id with the correct signature (I did not have one of these there prior for some reason). Redownload the GoogleServices json file.

I also needed to set the webClientId to the "client_type": 3 Oauth client ID. It then worked.