smstuebe / xamarin-fingerprint

Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IsAvailableAsync() returns 'true' on Android 8.1

frarteaga opened this issue · comments

Steps to reproduce

  1. Invoke var result = await CrossFingerprint.Current.IsAvailableAsync() on a device with Android 8.1 and no biometrics support.

Expected behavior

Must return false in result var.

Actual behavior

Get true in result var. See:

imagen

Crashlog

No crash.

Configuration

Version of the Plugin: 2.1.1

Platform: Android 8.1

Device: Samsung J7 (2016)

Hi @frarteaga,

I'm the friendly issue checker.
Thanks for using the issue template 🌟
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

I remove true value of optional parameter allowAlternativeAuthentication and then work as expected. Now I realize that there was no errors in the plugin.