FingerprintManager icon indicating copy to clipboard operation
FingerprintManager copied to clipboard

Infinite loop using onFingerprintNotRecognized()

Open MBontekoning opened this issue 7 years ago • 1 comments

Dear @JesusM,

Thanks again for the nice library.

If a fingerprint of a user is not recognized (either due to the user using the wrong finger or just a generic scan error), I would like perform a retry immediately. So in my case for JFingerprintManager.decrypt() in the DecryptionCallback.onFingerprintNotRecognized() I want to call JFingerprintManager.decrypt() again. However, I'm getting an infinite loop now, where DecryptionCallback.onFingerprintNotRecognized() gets called immediately when initializing the secondJFingerprintManager.decrypt().

Is there a way to prevent this? Or is it a bug?

MBontekoning avatar May 07 '17 13:05 MBontekoning

Facing the same issue.

priyank-thavai avatar Dec 06 '17 02:12 priyank-thavai