Waboodoo / HTTP-Shortcuts

Android app to create home screen shortcuts that trigger arbitrary HTTP requests
https://http-shortcuts.rmy.ch
MIT License
1.17k stars 113 forks source link

[BUG] biometric facial recogntion in low light exceeds retry count #391

Closed snowdej closed 6 months ago

snowdej commented 1 year ago

Steps To Reproduce

use biometric authentication user biometric with facial recognition on pixel 8 (pixel 8 facial is ok for banking apps no fingerprint) use in dark light that on other apps asks for fingerprrint

Expected behavior

shows fingerprint toast allows fingerprint to confirm

Actual behavior

it says failed (it does not show fingerprint) it says you've tried too many times to get it to work again I had to change to simple confirmation and back to biometric

Context

Please complete the following information:

I would like to be able to choose biometric or biometric fingerprint . So that I can always demand a fingerprint even if facial recognition is actually available. As in force use of a fingerprint and ignore facial recog. This is also partly a change request to fix the problem . I dont really want to use facial recog as I use the fingerprint as a confirmation - which means when facial recog is on hitting the shortcut just executes as it sees your face.

Waboodoo commented 1 year ago

To my understanding, this is unfortunately not possible to fix, or at least not with the official AndroidX biometric library that I'm using in the app. The library does not let the application choose the type of biometrics and instead leaves the choice up to the device / manufacturer. So as long as your device has facial recognitation enabled, the library may use it when biometric authentication is requested the an app.

Waboodoo commented 7 months ago

With version 3.11.0 I made a small adjustment to the biometric confirmation. It's tricky to test though, as the behavior differs between devices, but it should now favor using the fingerprint over facial recognition, which might solve the issue here.

Waboodoo commented 6 months ago

Closing this now under the assumption that the issue is fixed or no longer relevant.