Skip to content

Instantly share code, notes, and snippets.

@pavlospt
Created December 8, 2016 08:59
Show Gist options
  • Save pavlospt/3c5d34202cbb3a76a30bebde087b007a to your computer and use it in GitHub Desktop.
Save pavlospt/3c5d34202cbb3a76a30bebde087b007a to your computer and use it in GitHub Desktop.
SmartLock - Email Hint Request
private fun initHintRequest() {
hintRequest = HintRequest.Builder()
.setHintPickerConfig(
CredentialPickerConfig.Builder()
.setShowCancelButton(true)
.setPrompt(CredentialPickerConfig.Prompt.SIGN_IN)
.build()
)
.setEmailAddressIdentifierSupported(true)
.build()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment