You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Google Sign-In for iOS is now open source.
Swift Package Manager support.
Support for Simulator on M1 Macs.
API surface updates
GIDSignIn
sharedInstance is now a class property.
signIn is now signInWithConfiguration:presentingViewController:callback: and always requests basic profile scopes.
addScopes:presentingViewController:callback: is the new way to add scopes beyond basic profile to a currently signed-in user.
restorePreviousSignIn is now restorePreviousSignInWithCallback:.
disconnect is now disconnectWithCallback:.
The GIDSignInDelegate protocol has been removed in favor of GIDSignInCallback and GIDDisconnectCallback blocks.
All sign-in flow configuration properties have been moved to GIDConfiguration.
The GIDConfiguration class had been added to represent the configuration needed to sign in a user.
GIDAuthentication
getTokensWithHandler: is now doWithFreshTokens:.
The GIDAuthenticationHandler typedef has been renamed GIDAuthenticationAction.
refreshTokensWithHandler: has been removed, use doWithFreshTokens: instead.
GIDSignInButton no longer makes calls to GIDSignIn internally and will need to be wired to an IBAction or similar in order for you to call signInWithConfiguration:presentingViewController:callback: to initiate a sign-in flow.