googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.05k stars 2.53k forks source link

google sign in in react native and firebase fail with [Error: DEVELOPER_ERROR] #589

Open lilongxi opened 10 months ago

lilongxi commented 10 months ago

in my app It appears when I log in using google [Error: DEVELOPER_ERROR] I have used the following methods but none of them work

  1. check package name for android in firebase and google-services.json
  2. check sha1 in firebase and google console
  3. run ./gradlew signingReport and ./gradlew clean
  4. run https://console.cloud.google.com/apis/credentials/oauthclient/[webclient_id]
  5. setting client_type = 3 for client_id

But none of them take effect, so I found a lot of content on the Internet They are all reporting this error but there is no good solution. i think such tedious steps and frequent error reports, as a Google developer, I wonder if you should optimize this process. Instead of letting developers try endlessly