Releases: google/GoogleSignIn-iOS
Releases · google/GoogleSignIn-iOS
Google Sign-In 6.2.1
- Use
GoogleSignInSwiftSupport
as the name of the Swift support CocoaPod. (#137)
Google Sign-In 6.2.0
Google Sign-In iOS 6.1.0
Google Sign-In iOS 6.0.2
- Ensure that module imports can be used when built as a library. (#53)
Google Sign-In iOS 6.0.1
- Fixes nested callbacks not being called for signIn and addScopes methods. (#29)
Google Sign-In iOS 6.0.0
- 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 nowsignInWithConfiguration: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 nowrestorePreviousSignInWithCallback:
.disconnect
is nowdisconnectWithCallback:
.- The
GIDSignInDelegate
protocol has been removed in favor ofGIDSignInCallback
andGIDDisconnectCallback
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 nowdoWithFreshTokens:
.- The
GIDAuthenticationHandler
typedef has been renamedGIDAuthenticationAction
. refreshTokensWithHandler:
has been removed, usedoWithFreshTokens:
instead.
GIDSignInButton
no longer makes calls toGIDSignIn
internally and will need to be wired to anIBAction
or similar in order for you to callsignInWithConfiguration:presentingViewController:callback:
to initiate a sign-in flow.