signInSilently() generates an error code=-4

前端 未结 8 1849
日久生厌
日久生厌 2020-12-20 11:24

I\'m having this case where the GIDSignIn.sharedInstance().signInSilently() is returning an error:

Error Domain=com.google.GIDSignIn Code=-4 \"The op

相关标签:
8条回答
  • 2020-12-20 12:08

    check if internet is available then proceed with your staff. I got this error when iPad was not connected on the secondary signed in checks.

    0 讨论(0)
  • 2020-12-20 12:11

    Igor Rotaru had the correct answer. The key is to have the scopes set before using signInSilently. It will check if the user has ever signed in before with the scopes that you previously set and signed in with.

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