What is this error, please guide no material found anywhere on google so far. Below is my code which is giving error:
if GIDSignIn.sharedInstance().hasAuthInKeychain() == false {
GIDSignIn.sharedInstance().signIn()
} else {
if let user = GIDSignIn.sharedInstance().currentUser {
service.authorizer = user.authentication.fetcherAuthorizer()
fetchEvents()
} else {
GIDSignIn.sharedInstance().signInSilently()
}
}
Two errors coming:
Value of type 'GIDSignIn' has no member 'hasAuthInKeychain'
Value of type 'GIDSignIn' has no member 'signInSilently'
Please check the
GIDSignInversion you are using. Fromv5.0.0:signInSilentlyhas been replaced withrestorePreviousSignIn.hasAuthInKeychainhas been replaced withhasPreviousSignIn.Reference: https://developers.google.com/identity/sign-in/ios/release