bitkit
bitkit copied to clipboard
[Bug]: "Use Biometrics" button gives no indication when too many failed attempts
Describe the bug
When required to unlock the app and biometrics is enabled, if too many wrong attempts have been made to authenticate with biometrics then you must wait before attempting again with biometrics (30secs for me). In this period, the "Use Biometrics" button is still enabled and causes the page to fade black for a moment when pressed.
It may not be obvious to the user why this is happening or that the button will probably begin working again shortly. It would be good to either indicate why the button is not responding as usual or disable it until this method of authentication is allowed again.
Update: I checked how a few other apps behaved in this scenario. Some don't even have a button to retry with biometrics after the initial attempt fails. Telegram's fingerprint button remains enabled but does nothing.
Reproduce
- With biometric authentication enabled (e.g. fingerprint)
- Perform an action that requires user authentication (e.g. open the app or make a change the PIN settings)
- When presented with option to unlock with biometric, fail it until you are required to wait a while to try again.
- At this point the "Please enter your PIN code" screen is displayed
- Tap "Use Biometrics" button. This causes the screen to fade black for a moment but nothing else happens.
Screenshots / Recording
I couldn't get a screengrab including biometric authentication attempt failure but this shows the behaviour of the button when the option to use biometrics is temporarily disabled:
https://github.com/synonymdev/bitkit/assets/74595920/a08df66b-b547-45d9-9479-bc5fe9fa2c1f
Operating system
Android 13 TKQ1.220829.002
Bitkit version
v1.0.0-beta.113
Log output
No response