xamarin-fingerprint
xamarin-fingerprint copied to clipboard
If fingerprint isn't recognized AuthenticateAsync always returns FingerprintAuthenticationResultStatus.Canceled
This is my sample project: TestFingerprint.zip. Here I make multiple authentications, which everytime are failing. In the end I get as state "canceled". Imho "canceled" should only be returned if the user presses the cancel button.
Steps to reproduce
- Start Android app
- Take a finger, which isn't registered and try to authenticate
- Repeat until the dialog disappears
- Press the "Login with fingerprint" button to make another authentication
- Canceled is returned
Expected behavior
TooManyAttempts or Failed should be returned.
Actual behavior
Canceled is returned
Configuration
Version of the Plugin: 1.4.7
Platform: Android 7.1.1
Device: Samsung SM-T390
Xamarin: 4.9.0.753
Xamarin.Forms: 2.5.1.527436
Visual Studio: 14.0.25431.01 Update 3
Remarks
On iOS the behavior is that you first get TooManyAttempts and afterwards you get Unknown. If you are in "Unknown" you can't do any authentication anymore. Even an app restart doesn't help. Furthermore, the app seems to use some caching mechanism, because I added a fingerprint in the meantime, but the running app still returned "no fingerprint".
Hi @wegascee,
I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.