smstuebe / xamarin-fingerprint

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

[Android] UseFingerprint is deprecated, please use UseBiometric instead #134

Closed MattePozzy closed 3 years ago

MattePozzy commented 5 years ago

Hi, since the permission Android.Manifest.Permission.UseFingerprint is deprecated, I have tried to use Android.Manifest.Permission.UseBiometric but when I check for fingerprint support, the method CrossFingerprint.Current.AuthenticateAsync it returns false.

I need to include the deprecated permission to make it works.

It is possible to add support for Android.Manifest.Permission.UseBiometric?

Thank you.

Expected behavior

CrossFingerprint.Current.AuthenticateAsync returns true without UseFingerprint but with UseBiometric

Actual behavior

CrossFingerprint.Current.AuthenticateAsync returns false

Configuration

Version of the Plugin: 1.4.9

Platform: Android MediaPad M5 10' (Android version 9)

smsissuechecker commented 5 years ago

Hi @Raystorm7,

I'm the friendly issue checker. It seems like (37.50 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.

If you think it's fine to make an exception, just ignore this message. But if you think it was a mistake to delete the template, please close the issue and create a new one.

Thanks!