Skip to main content

FAQ / Troubleshooting

Android

"A non-recoverable sign in failure occurred"

See this comment. Or this SO question.

Login does not work when downloading from the Play Store.

See the next paragraph.

DEVELOPER_ERROR or code: 10 or Developer console is not set up correctly error message

This is always (always!) a configuration mismatch between your app and the server-side setup (in Firebase or Google Cloud console).

Follow these pointers:

  • Make sure that your SHA certificate fingerprints and Android package name you entered in Firebase Console / Google Cloud Console are correct.
  • See how your app was signed. If you are in development, make sure your development signing fingerprint is added as well.
  • Follow the setup guide and perform its steps once again.
  • Search the issue tracker for old reports of the error
  • If you're passing webClientId in configuration object to GoogleSignin.configure() make sure it's correct and that it is of type web (NOT Android!). You can get your webClientId from Google Developer Console. It is listed under "OAuth 2.0 client IDs".

Login does not work when using Internal App Sharing.

If you get a DEVELOPER_ERROR when using Internal App Sharing, it is because Google resigns your application with its own key.

See the previous paragraph.

Changing play-services-auth version

See "Choose Dependency versions" above.

Missing api_key/current_key object

open android/app/google-services.json and replace "api_key":[] with "api_key":[{ "current_key": "" }]

Package name !== application id

When adding a new oauth client, google asks you to add your package name. In some cases your package name is not equal to your application id. Check if your package name in the AndroidManifest.xml is the same as your application/bundle id. Find your application id in the play console or android/app/build.gradle. The format looks like com.yourapp.id.

iOS

On iOS the app crashes when tapping Sign In button

Along with "Your app is missing support for the following URL schemes" error in console.

Your Url Schemes configuration is incorrect.

If you use Expo, make sure that the config plugin is configured correctly.

In vanilla React Native projects, add URL type like this.