Releases: react-native-google-signin/google-signin
v1.2.1
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
v1.1.0
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
🎉 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
- expose types for Flow and TypeScript (#554) by @AndreiCalazans (they should just work out of the box)
- support for login hint [iOS] (#551) by @cgilboy
Improvements
- we made several improvements to the docs
- updated podpec
full list of commits here
v1.0.0-rc8
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
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.