Releases: react-native-google-signin/google-signin
v4.0.0
Welcome to v4!
Improvements
- we made several improvements to the docs
- the repo was renamed from
react-native-community / react-native-google-signin
toreact-native-community / google-signin
- this should not affect you in any way
Breaking Changes
they are small, but breaking nevertheless
❌ renamed clearCachedToken
to clearCachedAccessToken
(#829 )
❌ clearCachedAccessToken
resolves to null
, it previously resolved to true
(#829)
❌forceConsentPrompt
parameter to configure()
was renamed to forceCodeForRefreshToken
and we now link to android docs from readme (#829)
Changed
- Promise handling logic was changed. This is a big change but does not affect the way the library is consumed. We hope it will avoid some hard-to-repro bugs. Read more in #830
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
Welcome to v3.0.0!
This release is for RN >= 0.60 and supports AndroidX as well as the new Cocoapods setup introduced in RN 0.60. It is compatible with autolinking, so integrating the library should be easy. There are no changes to functions exposed by the library.
If you encounter any issues, please let us know! 👍
Please note there is a known bug in iOS SDK 5
Breaking
- We changed the package scope to be in line with the community org, now please change your imports to
@react-native-community/google-signin
! - iOS Google Sign In SDK is upgraded to v5. This has an effect on you only if you use the Google Sign In apis directly OR call
RNGoogleSignIn
in- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
in your AppDelegate. If that is the case, please make sure to use application:openURL:options: instead of deprecated application:openURL:sourceApplication:annotation: and refer to our iOS guide
v2.1.0
This release is intended for RN <= 0.59
The only change is support of iOS Google Sign In SDK v5. It has been reported that this v5 is required to do public deployments to the app store.
Please note there is a known bug in iOS SDK 5
How to update
Just upgrade your iOS Google Sign In SDK to v5 and you'll good to go. If you call RNGoogleSignIn
in - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
in your AppDelegate, please make sure to use application:openURL:options: instead of deprecated application:openURL:sourceApplication:annotation: and refer to our iOS guide
This release lives in the 2.x branch. Future development will carry on in master with v3.
v2.0.0
This major release contains some minor changes in the api. Overall, most users should just be able to upgrade without any changes to their code.
Improvements
- the flow and TS typings had some minor improvements
Breaking
accessToken
andaccessTokenExpirationDate
are now removed from the object that is returned fromsignIn()
orsignInSilently()
. If you needaccessToken
, please use thegetTokens()
method. However, please note that google discourages usingaccessToken
.accessTokenExpirationDate
was removed for api parity - this piece of information is only available on iOS and not on Android. If you need this information, please open an issue and explain the motivation whyaccessTokenExpirationDate
should be added back. #649signOut()
andrevokeAccess()
, when successful, previously resolved withtrue
. Now they will resolve withnull
. If you followed the examples in readme or the example app, this does not need any action from you #655
We hope you'll like our new release - almost a year after this package was moved to react native community, we're down to 12 open issues and the library is in a stable state. Thanks for using react-native-google-signin! 🎉