Skip to content

Instantly share code, notes, and snippets.

@husaynhakeem
Created September 10, 2020 04:37
Show Gist options
  • Save husaynhakeem/8915554c140e0bd27eb379fefe3e0e27 to your computer and use it in GitHub Desktop.
Save husaynhakeem/8915554c140e0bd27eb379fefe3e0e27 to your computer and use it in GitHub Desktop.
val biometricPrompt = BiometricPrompt(
activity, // Activity or Fragment
executor, // Optional. Defines the executor on which the callbacks are triggered
authenticationCallback
)
// Show the authentication prompt
biometricPrompt.authenticate(promptInfo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment