Skip to content

v1.0.0-rc4

Choose a tag to compare

@vonovak vonovak released this 06 Sep 13:33
· 380 commits to master since this release

Breaking Changes

  • [All] GoogleSignin.signInSilently() previously never rejected: (it either returned user information or resolved with null) now, signInSilently either resolves with user information or rejects with an error. This is more in line with how signIn works, and also allows you to find out what went wrong (eg. a network error). (#488)

New Features

  • [All] The sign in button now accepts disabled prop. Thanks @ngraef (#483)!

Improvements

  • [Android] Fixed crash when trying to pass empty object to GoogleSignin.hasPlayServices(). Thanks @tvc97! (#495)
  • [iOS] GoogleSignin.configure(): you no longer need to pass the iosClientId to the configure() call. (#507)
// Before
GoogleSignin.configure({
  iosClientId: 'your-client-id', ...otherOptions
});

// After
GoogleSignin.configure(otherOptions);
  • We also got lots of changes to documentation made by contributors! Thanks to @SilentChris and @ngraef! Also thanks for all people testing and using this library. 👍