I just upgraded from GoogleSignIn 5.0.2 to 7.0.0 and now I've a problem with restorePreviousSignIn response that fails with error code=-4 (see attached screenshot). Seems like the auth is not stored in the Keychain.
Steps to reproduce the behavior:
Sign in -> success with valid user and access token
Close and reopen the app
Call hasPreviousSignIn -> return false
Call restorePreviousSignIn -> get nil user and error code=-4
At this point I also tried to uninstall the app, and install an older version of it (with GoogleSignIn 5.0.2), but I start to get a new keychain error (never seen before in years), see https://github.com/google/GoogleSignIn-iOS/issues/165
I think something strange is happening with Keychain groups.
My Xcode project has Keychain Sharing capability enabled with 2 Keychain groups.
I already tried to call signOut, disconnect, and clean NSUserDefaults, nothing works.
Now I'm stucked because I can't use either version.
Device: iPhone 12 pro, iPad Pro 2nd gen
OS: iOS 16.3.1
Hi,
I just upgraded from GoogleSignIn 5.0.2 to 7.0.0 and now I've a problem with
restorePreviousSignIn
response that fails witherror code=-4
(see attached screenshot). Seems like the auth is not stored in the Keychain.Steps to reproduce the behavior:
hasPreviousSignIn
-> return falserestorePreviousSignIn
-> get nil user and error code=-4At this point I also tried to uninstall the app, and install an older version of it (with GoogleSignIn 5.0.2), but I start to get a new keychain error (never seen before in years), see https://github.com/google/GoogleSignIn-iOS/issues/165
I think something strange is happening with Keychain groups. My Xcode project has Keychain Sharing capability enabled with 2 Keychain groups.
I already tried to call signOut, disconnect, and clean NSUserDefaults, nothing works. Now I'm stucked because I can't use either version.
Device: iPhone 12 pro, iPad Pro 2nd gen OS: iOS 16.3.1
Thanks