Android - GoogleSignInResult always failing

前端 未结 2 480
温柔的废话
温柔的废话 2021-01-18 05:06

I have followed the tutorial here: https://developers.google.com/identity/sign-in/android/start-integrating to integrate Google sign in into my app.

However, the

相关标签:
2条回答
  • 2021-01-18 05:31

    The problem was that I was running the app from Android Studio (without setting up signingConfig), so the app wasn't signed with my certificate, which Google Sign-in requires.

    0 讨论(0)
  • 2021-01-18 05:37

    If you run from Android studio without signingConfigs, then it is using your debug key store to sign. You can try register your package name + debug key SHA1 in dev console for easy development:

    Test google signin on Android in development phase

    0 讨论(0)
提交回复
热议问题