Skip to content

Releases: react-native-google-signin/google-signin

v4.0.0

09 Mar 22:46
Compare
Choose a tag to compare

Welcome to v4!

Improvements

  • we made several improvements to the docs
  • the repo was renamed from react-native-community / react-native-google-signin to react-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

01 Jan 15:20
Compare
Choose a tag to compare

Bugfixes

  • fixed Flow typings for newer Flow versions: #768

v3.0.3

21 Oct 22:44
Compare
Choose a tag to compare

Bugfixes

v3.0.2

16 Oct 12:06
Compare
Choose a tag to compare

This release includes

Bugfixes

Improvements

  • we made minor improvements to the troubleshooting doc, issue template and the example app

v3.0.1

09 Oct 08:06
Compare
Choose a tag to compare

Bugfixes

v3.0.0

03 Oct 08:40
Compare
Choose a tag to compare

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

03 Oct 08:20
Compare
Choose a tag to compare

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

25 Apr 19:51
Compare
Choose a tag to compare

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 and accessTokenExpirationDate are now removed from the object that is returned from signIn() or signInSilently(). If you need accessToken, please use the getTokens() method. However, please note that google discourages using accessToken.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 why accessTokenExpirationDate should be added back. #649
  • signOut() and revokeAccess(), when successful, previously resolved with true. Now they will resolve with null. 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! 🎉

v1.2.3

16 Apr 15:49
Compare
Choose a tag to compare
  • this release improves integration with non-cocoapods installations by including an extra header search path, fixing things like GoogleSignIn/GoogleSignIn.h file not found

v1.2.2

25 Mar 23:09
Compare
Choose a tag to compare
  • fixes TS typings issue #637 through #635

There are also small improvements to docs.

Thanks everyone for using the library, reporting issues and contributing!