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 ?
I am using androidx.biometric:biometric:1.0.1
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.