call biometricPrompt on UI
This commit is contained in:
parent
c3a52c5969
commit
10078f1711
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ object BiometricCheck {
|
|||
// .setDeviceCredentialAllowed(true) // setDeviceCredentialAllowed creates new activity when PIN is requested, activity.fragmentManager crash afterwards
|
||||
.build()
|
||||
|
||||
biometricPrompt.authenticate(promptInfo)
|
||||
runOnUiThread {
|
||||
biometricPrompt.authenticate(promptInfo)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue