When Biometric prompt is shown in App with setDeviceCredentialAllowed(true), It is not dismissed when device home button is pressed. It throws BiometricPrompt.ERROR_USER_CANCELED error and keeps the System UI as is.
Did any one face this issue ? Is there any workaround kind of thing ?
Note : I am using androidx.biometric:biometric:1.0.1
Note: Its Android bug. https://issuetracker.google.com/issues/149770989
I found this bug when I tried this library. The problem is they implemented it as a fragment, and it's not responding well to this thing.
I opted out of using this library all together and just implemented it myself.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.