infinum / Android-Goldfinger

Android library to simplify Biometric authentication implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleting all fingerprints from device

mariciv opened this issue · comments

Most devices invalidate fingerprint and we should get an error next time we try to start fingerprint reading. But on some device like LG G5 and OnePlus2 this doesn't happen. Instead we get onReady callback even though we definitely can't get a successful auth result cause there is no fingerprint to match.

A quick fix in any project is to check if there are enrolled fingerprints before trying to start fingerprint reading but maybe we could push this inside the lib so we expose this error consistently.

Agreed. We shall add the check before authentiocation in next release.

Fixed in v1.2.0.

We check preconditions before starting the authentication and exception is thrown if user has no hardware or no enrolled fingerprints.

Closing issue.