Google Sign-In iOS SDK Release Notes

2019-11-08 -- v5.0.2

  • Fixes issue with the wrong error code being sent to signIn:didSignInForUser:withError: when the user cancels iOS's consent dialog during the sign-in flow.

2019-10-09 -- v5.0.1

  • Fixes an issue with the sign-in flow not starting on iOS 13.
  • The zip distribution now requires Xcode 11 or newer.

2019-08-14 -- v5.0.0

  • Changes to GIDSignIn:
    • uiDelegate has been replaced with presentingViewController.
    • hasAuthInKeychain has been replaced with hasPreviousSignIn.
    • signInSilently has been replaced with restorePreviousSignIn.
    • Removed deprecated kGIDSignInErrorCodeNoSignInHandlersInstalled error code.
  • Changes to GIDAuthentication:
    • Removed deprecated methods getAccessTokenWithHandler: and refreshAccessTokenWithHandler:.
  • Changes to GIDGoogleUser:
    • Removed deprecated property accessibleScopes; use grantedScopes instead.
  • Adds dependencies on AppAuth and GTMAppAuth.
  • Removes the dependency on GoogleToolboxForMac.
  • Drops support for iOS 7.

2018-11-29 -- v4.4.0

  • Removed dependency on the GTM OAuth 2 library.

2018-10-09 -- v4.3.0

  • Improved support for G Suite managed devices.

2018-08-14 -- v4.2.0

  • Added grantedScopes property to GIDGoogleUser. This new property contains the scopes granted to the app. The older accessibleScopes property, which contains the scopes requested by the app, is now deprecated.
  • Now depends on LocalAuthentication framework.
  • GIDSignInButton localizations added for Hindi (hi) and Canadian French (fr-CA).

2018-02-01 -- v4.1.2

  • Add pod try support to the GoogleSignIn CocoaPod.

2017-10-16 -- v4.1.1

  • Fixes the issue of signInWillDispatch:error: not being called when SFAuthenticationSession is used on iOS 11.

2017-09-05 -- v4.1.0

  • On iOS 11, uses SFAuthenticationSession instead of SFSafariViewController.

2016-10-24 -- v4.0.1

  • The appearance of a GIDSignInButton no longer depends on which scopes are requested.
  • The GoogleSignIn pod now depends on the open-source versions of some dependencies.

2016-05-18 -- v4.0.0

  • The GoogleSignIn pod is now a static framework. Import with #import <GoogleSignIn/GoogleSignIn.h> in Objective-C.
  • Adds module support. You can also use @import GoogleSignIn; in Objective-C, if modules are enabled, and import GoogleSignIn in Swift without using a bridge-header.
  • For users of the stand-alone zip distribution, multiple frameworks are now provided and all need to be added to a project. This decomposition allows more flexibility in case of duplicated dependencies.
  • Removes deprecated method checkGoogleSignInAppInstalled from GIDSignIn.
  • Removes allowsSignInWithBrowser and allowsSignInWithWebView properties from GIDSignIn.
  • No longer requires adding bundle ID as a URL scheme supported by the app.

2016-03-22 -- v3.0.0

  • Provides givenName and familyName properties on GIDProfileData.
  • Allows setting the loginHint property on GIDSignIn to pre-fill the user's ID or email address in the sign-in flow.
  • Removed the UIViewController(SignIn) category as well as the delegate property from GIDSignInButton.
  • Requires that uiDelegate has been set properly on GIDSignIn and that SafariServices.framework has been linked.
  • Removes the dependency on StoreKit.
  • Adds bitcode support.
  • Requires Xcode 7 or newer due to bitcode incompatibilities with Xcode 6.

2015-10-28 -- v2.4.0

  • GIDSignInButton renders the sign-in button with the updated Google logo.
  • New GIDAuthentication method, getTokensWithHandler: get a valid access token and a valid ID token, refreshing them from the auth server if necessary.
  • New GIDAuthentication method, refreshTokensWithHandler: refresh the access token and ID token.

2015-10-09 -- v2.3.2

  • Requires Xcode 6 or newer (Xcode 7 recommended).

2015-10-01 -- v2.3.1

  • Fixes a crash in GIDProfileData's imageURLWithDimension:.

2015-09-25 -- v2.3.0

  • Requires Xcode 7.0 or above.
  • Uses SFSafariViewController for signing in on iOS 9. uiDelegate must be set for this to work.
  • Optimizes fetching user profile.
  • Supports GTMFetcherAuthorizationProtocol in GIDAuthentication.

2015-07-15 -- v2.2.0

  • Compatible with iOS 9 (beta). Note that this version of the Sign-In SDK does not include bitcode, so you must set ENABLE_BITCODE to NO in your project if you use Xcode 7.
  • Adds descriptive identifiers for GIDSignInButton's Auto Layout constraints.
  • signInSilently no longer requires setting uiDelegate.

2015-06-17 -- v2.1.0

  • Fixes Auto Layout issues with GIDSignInButton.
  • Adds API to refresh access token in GIDAuthentication.
  • Better exception description for unassigned clientID in GIDSignIn.
  • Other minor bug fixes.

2015-05-28 -- v2.0.1

  • Bug fixes

2015-05-21 -- v2.0.0

  • Supports sign-in via UIWebView rather than app switching to a browser, configurable with the new allowsSignInWithWebView property.
  • Now apps which have disabled the app switch to a browser via the allowsSignInWithBrowser and in-app web view via allowsSignInWithWebView properties have the option to display a prompt instructing the user to download the Google app from the App Store.
  • Fixes sign-in button sizing issue when auto-layout is enabled
  • signInSilently now calls the delegate with error when hasAuthInKeychain is NO as documented
  • Other minor bug fixes

2015-03-12 -- v1.0.0

  • New sign-in focused SDK with refreshed API
  • Dynamically rendered sign-in button with contextual branding
  • Basic profile support
  • Added allowsSignInWithBrowser property