
- Swift note mac code#
- Swift note mac zip#
Fixes an issue that GIDSignInUIDelegate's signInWillDispatch:error: was. Add pod try support for the GoogleSignIn CocoaPod. Adds dependency to the system LocalAuthentication framework. Localizes GIDSignInButton for hi (Hindi) and fr-CA (French (Canada)). Deprecates accessibleScopes in GIDGoogleUser, use grantedScopes instead. Have been granted after a successful sign-in. Adds grantedScopes to GIDGoogleUser, allowing confirmation of which scopes.
Supports Google's Enterprise Mobile Management. Removes the dependency on GoogleToolboxForMac. Adds dependencies on AppAuth and GTMAppAuth. Removed deprecated property accessibleScopes, use grantedScopes instead. Removed deprecated methods getAccessTokenWithHandler: and refreshAccessTokenWithHandler. Removed deprecated kGIDSignInErrorCodeNoSignInHandlersInstalled error code. signInSilently has been replaced with restorePreviousSignIn.
hasAuthInKeychain has been replaced with hasPreviousSignIn.uiDelegate has been replaced with presentingViewController.
Swift note mac zip#
The zip distribution requires Xcode 11 or above.Fixes an issue that the sign in flow cannot be correctly started on iOS 13.
Swift note mac code#
Fixes the wrong error code being sent to signIn:didSignInForUser:withError: when the userĬancels iOS's consent dialog during the sign-in flow. SignInWithConfiguration:presentingViewController:callback: to initiate a sign-in flow. GIDSignInButton no longer makes calls to GIDSignIn internally and will need to be wired toĪn IBAction or similar in order for you to call. refreshTokensWithHandler: has been removed, use doWithFreshTokens: instead. The GIDAuthenticationHandler typedef has been renamed GIDAuthenticationAction. getTokensWithHandler: is now doWithFreshTokens. The GIDConfiguration class had been added to represent the configuration needed to sign in a. All sign-in flow configuration properties have been moved to GIDConfiguration. The GIDSignInDelegate protocol has been removed in favor of GIDSignInCallback and. disconnect is now disconnectWithCallback. restorePreviousSignIn is now restorePreviousSignInWithCallback. addScopes:presentingViewController:callback: is the new way to add scopes beyond basic. signIn is now signInWithConfiguration:presentingViewController:callback: and always. sharedInstance is now a class property. Google Sign-In for iOS is now open source. Fixes nested callbacks not being called for signIn and addScopes methods. Ensure that module imports can be used when built as a library. Improvements to the addScopes implementation. New Swift sample app demonstrating SwiftUI. Added the ability to request additional scopes at sign-in time. Added a SwiftUI "Sign in with Google" button. Use GoogleSignInSwiftSupport as the name of the Swift support CocoaPod. Prevent a build error on Xcode 12 and earlier.
Prevent build errors for GoogleSignInSwift when using Swift Package Manager.Prevent build errors for GoogleSignInSwift in certain scenarios when using Swift Package Manager.Fix resource loading in GoogleSignInSwift with CocoaPods use_frameworks! ( #197).Updated the GTMSessionFetcher dependency to allow 2.x versions.Removed GIDSignInCallback, GIDDisconnectCallback, and GIDAuthenticationAction block type definitions.New GIDSignInResult class to represent the result of a successful signIn or addScopes flow.New GIDToken class to represent access, refresh, and ID tokens in GIDGoogleUser.New refreshTokensIfNeededWithCompletion: method.Removed authentication property and replaced it with:.New addScopes: method moved from GIDSignIn.Renamed callback: arguments to completion: for asynchronous methods taking blocks.Removed addScopes: and added it to GIDGoogleUser.Removed Configuration: arguments from signIn: methods.Use the following keys in KEYVALUE pairs to configure the SDK:.All configuration can now be provided via your ist file.