Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fingerprint: too many attempts issue

I am trying to implement fingerprint introduced in Android-6.0-marshmallow, but face an issue.
The issue being that when I am try to run the sample code provided here

android-FingerprintDialog

it shows a "Too many attempts" error more than once.
To reproduce the issue, the steps are

1 - Click on purchase button
2 - Provide wrong touch id until the "too many attempts" error occur
3 - Provide password
4 - Again click on purchase button.

Now it again shows the "Too many attempts" error and asks for a password (which is not the supposed behaviour)

Please tell me how to fix this issue.

like image 616
Nikhil Avatar asked Nov 02 '15 07:11

Nikhil


People also ask

What causes fingerprint failure?

The fingerprint sensor may not work if your hand is wet, moist, oily, or dirty. So, if your finger has any of these, you might not be able to unlock your phone using the fingerprint. The way out is to wash your hands, clean them, and wait for them to dry out. Now try to unlock your phone with your fingerprint.

How do you solve fingerprint problems?

Restart your device Most of the software issues like an Android fingerprint is not working can be fixed by rebooting your phone. This step does a lot for your phone because the devices that aren't restarted for a long time may lose their performance. Just press the power button for a while to let your phone restart.


1 Answers

The specific implementation of the fingerprint API may vary among the different device manufacturers. The fingerprint API provides a "standard," but the open source nature of the Android OS means that customization may also occur. I have done testing with Huawei P6, LG 5X, and the Samsung S5, S6, and S7. (The Samsung devices use the proprietary Pass API, but demonstrate similar behaviors to the Android fingerprint API.) The scenarios I have seen in my experience in working with the Android 6.0 fingerprint API after the max failed authentication attempts has been reached:

  • Locking the fingerprint scanner for 30 seconds.
  • Locking the fingerprint scanner and requiring the backup password.
  • Locking the fingerprint scanner for 30 seconds and requiring the backup password.

Does the fingerprint scanner become available again after you enter the backup password and wait 30 seconds? It would also be helpful to know which devices (manufacturers and models) you have tested against.

like image 125
MStrapko Avatar answered Oct 09 '22 17:10

MStrapko