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 withpresentingViewController
.hasAuthInKeychain
has been replaced withhasPreviousSignIn
.signInSilently
has been replaced withrestorePreviousSignIn
.- Removed deprecated
kGIDSignInErrorCodeNoSignInHandlersInstalled
error code.
- Changes to
GIDAuthentication
:- Removed deprecated methods
getAccessTokenWithHandler:
andrefreshAccessTokenWithHandler:
.
- Removed deprecated methods
- Changes to
GIDGoogleUser
:- Removed deprecated property
accessibleScopes
; usegrantedScopes
instead.
- Removed deprecated property
- 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 toGIDGoogleUser
. This new property contains the scopes granted to the app. The olderaccessibleScopes
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 whenSFAuthenticationSession
is used on iOS 11.
2017-09-05 -- v4.1.0
- On iOS 11, uses
SFAuthenticationSession
instead ofSFSafariViewController
.
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, andimport 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
fromGIDSignIn
. - Removes
allowsSignInWithBrowser
andallowsSignInWithWebView
properties fromGIDSignIn
. - No longer requires adding bundle ID as a URL scheme supported by the app.
2016-03-22 -- v3.0.0
- Provides
givenName
andfamilyName
properties onGIDProfileData
. - Allows setting the
loginHint
property onGIDSignIn
to pre-fill the user's ID or email address in the sign-in flow. - Removed the
UIViewController(SignIn)
category as well as thedelegate
property fromGIDSignInButton
. - Requires that
uiDelegate
has been set properly onGIDSignIn
and thatSafariServices.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
'simageURLWithDimension:
.
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
inGIDAuthentication
.
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
toNO
in your project if you use Xcode 7. - Adds descriptive identifiers for
GIDSignInButton
's Auto Layout constraints. signInSilently
no longer requires settinguiDelegate
.
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
inGIDSignIn
. - 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 newallowsSignInWithWebView
property. - Now apps which have disabled the app switch to a browser via the
allowsSignInWithBrowser
and in-app web view viaallowsSignInWithWebView
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 whenhasAuthInKeychain
isNO
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