Skip to content

2.2.0-alpha-2

Pre-release
Pre-release

Choose a tag to compare

@jan-tennert jan-tennert released this 22 Feb 13:25
· 240 commits to development since this release
15fc70a

Changes

Auth

  • Changes to SessionStatus:
    • The Authenticated now has a source property which can be Storage, SignIn, SignUp, Refresh, External, UserChanged, UserIdentitiesChanged or Unknown
    • The NotAuthenticated status is now a data class rather than an object and has a isSignOut property

Compose Auth

  • (Android) The Credential Manager will now always be used for all Android versions
  • By default, when signing out using Auth#signOut or Auth#clearSession the Google credential will now also be cleared.
  • You now pass in the nonce and extraData when calling startFlow rather than in the plugin settings.
  • If no nonce parameter is specified (or not set to null manually), the library will now take care of generating a nonce and using it for authentication.
  • NativeSignInState#started has been changed to NativeSignInState#status which can be Started or NotStarted
  • The apple native sign in method no longer has any arguments, as they are not needed. Note: I don't think that fixes the Apple Native Sign in problem.