Skip to content

v2.0.0

Choose a tag to compare

@vonovak vonovak released this 25 Apr 19:51
· 291 commits to master since this release

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! 🎉