Skip to content

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

v1.2.1

01 Mar 08:14
Compare
Choose a tag to compare

This release fixes a sneaky bug: sometimes, the module would reject promises with ASYNC_OP_IN_PROGRESS Cannot set promise. You've called "x" while "y" is already in progress and has not completed yet. Make sure you're not repeatedly calling signInSilently, signIn or revokeAccess from your JS code while the previous call has not completed yet.

This was due to a race condition in our promise handling logic. The issue is now fixed through #623

v1.2.0

19 Feb 21:49
Compare
Choose a tag to compare

This release adds two new functions through #619

  • clearCachedToken(tokenString)
  • getTokens()

v1.1.0

05 Feb 07:28
Compare
Choose a tag to compare

This release adds

  • getCurrentUser through #616

As always, thanks for using the library, reporting issues and contributing! 💯

v1.0.4

02 Feb 13:52
Compare
Choose a tag to compare

This release includes

  • minor fix to the TS typings: #611 by @vemarav
  • small maintenance improvements

Thanks for using the library and contributing! 🎉

v1.0.3

02 Feb 08:24
Compare
Choose a tag to compare

This is a broken release, do not use.

v1.0.2

11 Dec 08:56
Compare
Choose a tag to compare

This is a maintenance release that upgrades android build tools

Thanks everyone for using this library and contributing in any way! 👍

v1.0.1

19 Nov 19:55
Compare
Choose a tag to compare
  • fixes a problem with TS typings (fixes #572)
  • added loginHint to flow and TS typings

v1.0.0

13 Nov 10:30
Compare
Choose a tag to compare

🎉 version 1 is finally here 🎉

Breaking Changes

❌ rename googlePlayServicesVersion to googlePlayServicesAuthVersion (#562)

Update android/build.gradle with:

+ googlePlayServicesAuthVersion = "your version"
googlePlayServicesVersion = "your version" // please note other libs may depend on this so it's safer to not remove this if you already have this

More details in the android guide.

New features

Improvements

  • we made several improvements to the docs
  • updated podpec

full list of commits here

v1.0.0-rc8

03 Nov 12:34
Compare
Choose a tag to compare

With this RC, we're finally getting close to releasing v1 proper.

This release fixes a long-standing technical debt on iOS: previously, as can be seen here we were storing the google sign in SDK in the repo and distributing it in the npm package, and referring to it in the installation instructions.

In this release we have rewritten the installation instructions for iOS and made sure that we depend only on the SDK that you get via pods or manually, if you do not use pods.

How to migrate

  • on iOS, we now require that you use Google Sign In SDK >= 4.3.0

We recommend that you remove Google Sign In-related dependencies from your project and install anew. Namely, remove AddressBook.framework, SafariServices.framework, SystemConfiguration.framework, libz.tbd, GoogleUtilities.framework, GoogleAuthUtilities.framework, GoogleNetworkingUtilities.framework, GoogleSignIn.bundle, GoogleSignIn.framework, GoogleSymbolUtilities.framework, GoogleUtilities.framework from the linked libraries / framework group in Xcode. Also remove RNGoogleSignin.xcodeproj from Libraries group.

Note that paths to these may be stored in your project under header search paths, you can remove those too.

Then follow the new installation guide for ios here.

If you run into any problems, please open a new issue with detailed description of the problem.

Thanks to everybody using and contributing to the library!

v1.0.0-rc7

21 Oct 19:56
Compare
Choose a tag to compare

Improvements

iosClientId configuration option is back

The option was removed in v1.0.0-rc4 in favor of reading this value from GoogleService-Info.plist. In this release, you can manually pass the value to the configure call and if this value is provided, it will take precedence over the clientID specified in GoogleService-Info.plist.

iosClientId: '<FROM DEVELOPER CONSOLE>', // [iOS] optional, if you want to specify the client ID of type iOS (otherwise, it is taken from GoogleService-Info.plist)

Error messages provide more debugging information

Previously, the library would provide generic error messages that did not give a lot of information about what went wrong. This release adds better error messages for runtime errors as well as for the case when the native module is not correctly linked. This is useful for integrating in a new project as well as for better insights into crash reports.