我尝试在 Flutter 应用程序中使用 Google 登录,但即使在将 SHA-1 指纹添加到 Google Play Console 后等待 24 小时后,我仍收到以下错误消息(我没有使用 firebase),确认包名称,添加调试和发布 SHA-1 指纹,并设置同意页面:
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
附加信息:
预期行为:
我应该能够使用 Google Sign-in 登录而不会收到任何错误。
实际行为:
我收到错误消息
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null).
重现步骤:
预期结果:
您应该能够使用 Google Sign-in 登录,而不会收到任何错误。
实际结果:
您将收到错误消息
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
。
更新
google_sign_in
时,移动标志工作正常
我的两个建议是