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
Xcode gives you a string - Put it here as in the below image
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: "",);