xamarin-fingerprint icon indicating copy to clipboard operation
xamarin-fingerprint copied to clipboard

[Question] Is there a method to check current device Authentication method.

Open pmahend1 opened this issue 4 years ago • 1 comments

Steps to reproduce

N/A This is a question

Expected behavior

Need to know if device has both fingerprint or face id or both

var isAvailable = await CrossFingerprint.Current.GetAvailabilityAsync();
if(isAvailable == FingerprintAvailability.Available)
{
    //then is it face id or finger print 
 }

Actual behavior

Only get Available or NoFingerPrint from enum

I want to distinguish if the device doesnt have one of the fingerprint or face id logins

Based on that I want to set Button

Crashlog

N/A

Configuration

Version of the Plugin: 2.1

Platform: e.g. iOS and Android both checking on iPad which has only finger print and iPhone simulator with face id Android phone with both finger print and face id Android emulator with only fingerprint

Compiled with Q10 and iOS 13.4

Device: Physical Android Moto G7 Plus with Q(10) -API 29 Physical iPad Mini 5th Gen with iOS 12.2 Emulator Pixel 2 on Q(10) -API 29 Emulator iPhone 11 iOS 13.4

pmahend1 avatar Apr 17 '20 19:04 pmahend1

Hi @pmahend1,

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.

smsissuechecker avatar Apr 17 '20 19:04 smsissuechecker