Skip to content

Instantly share code, notes, and snippets.

@MehulKK
Last active May 10, 2019 19:14
Show Gist options
  • Save MehulKK/301f7d43a07d196f94bb96724d7ccb1a to your computer and use it in GitHub Desktop.
Save MehulKK/301f7d43a07d196f94bb96724d7ccb1a to your computer and use it in GitHub Desktop.
// Construct a request for phone numbers and show the picker
private fun requestHint() {
val hintRequest = HintRequest.Builder()
.setPhoneNumberIdentifierSupported(true)
.build()
val intent = Auth.CredentialsApi.getHintPickerIntent(
apiClient, hintRequest)
startIntentSenderForResult(intent.getIntentSender(),
RESOLVE_HINT, null, 0, 0, 0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment