Skip to content

Infinite loop using onFingerprintNotRecognized() #4

@MBontekoning

Description

@MBontekoning

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions