Skip to content

Instantly share code, notes, and snippets.

@dllewellyn
Created July 2, 2020 07:59
Show Gist options
  • Save dllewellyn/2b16155cfc1f0eb78ad8a15e25f52755 to your computer and use it in GitHub Desktop.
Save dllewellyn/2b16155cfc1f0eb78ad8a15e25f52755 to your computer and use it in GitHub Desktop.
private val oneTapClient: SignInClient by lazy {
Identity.getSignInClient(this)
}
lifecycleScope.launch(CoroutineExceptionHandler { _, e ->
Log.e(
TAG,
e.localizedMessage ?: "",
e
)
}) {
val result = oneTapClient.suspendBeginSignInRequest(buildSignupRequest())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment