smstuebe / xamarin-fingerprint

Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor
Microsoft Public License
490 stars 115 forks source link

IsAvailableAsync() returns 'true' on Android 8.1 #190

Closed frarteaga closed 3 years ago

frarteaga commented 3 years ago

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)

smsissuechecker commented 3 years ago

Hi @frarteaga,

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.

frarteaga commented 3 years ago

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