App getting crash when click on GoogleSignIn button

后端 未结 8 654
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 15:54

I am using Google Sign-In SDK 4.0.1. When I press googleSignInButton then app will be crash. And gave below error, how to fix this:

Terminating app due to un         


        
相关标签:
8条回答
  • 2020-12-01 16:23

    Xcode gives you a string - Put it here as in the below image

    0 讨论(0)
  • 2020-12-01 16:24

    For those who came here from Flutter because of the crash of google_sign_in package on iOS devices - I've already covered this issue here

    Long story short: try to explicitly set properties hostedDomain and clientId.

    GoogleSignIn googleSignIn = GoogleSignIn( 
      scopes: ['email', 'profile'],
      hostedDomain: "", 
      clientId: "",);
    
    0 讨论(0)
提交回复
热议问题