Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Biometrics API

Open moljac opened this issue 7 years ago • 23 comments

Fingerprint API

Description

API for Fingerprint scanning.

VS bug #735680

moljac avatar Mar 12 '18 17:03 moljac

Should this be named something different? Biometrics? We have iOS with Face ID, and presumably Android vendors will follow, so it's not really all fingerprint, however I think people mostly know this as fingerprint....

Redth avatar Mar 12 '18 18:03 Redth

I would also say biometrics. on UWP we have Windows Hello, which could basically be anything in the world... face from my surface, fingerprint from my laptop, DNA tester from my secret bunker running Windows IoT...

mattleibow avatar Mar 13 '18 18:03 mattleibow

Maybe we name it biometrics and in the first version we only expose fingerprint.

jgiacomini avatar Mar 18 '18 10:03 jgiacomini

I just found this plugin which implement finger print reading on the 3 OS : https://github.com/smstuebe/xamarin-fingerprint

jgiacomini avatar Mar 29 '18 17:03 jgiacomini

@jgiacomini 4 OS :wink:

smstuebe avatar Apr 20 '18 17:04 smstuebe

Just adding a note here.... Android is actually calling their bits 'Biometrics' now too for what used to just support Fingerprint. I think this helps validate the API naming we had in mind.

Redth avatar May 14 '18 18:05 Redth

As part of this feature, for security reasons, you should also be able to detect if a new Fingerprint or FaceID has been added. Why? If you are using biometrics for authentication, and a new biometric fingerprint or face is added, the user should be required to confirm that new biometric option is valid for authentication in your app.

maybe api for FAceID will be good?

KSemenenko avatar Feb 06 '19 19:02 KSemenenko

This will be great but it should have the following:

  1. Verify the fingerprint / face recognition.
  2. Get the fingerprint / face recognition and save in employee database for example to verify and authenticate, for example login with face recognition or fingerprint time attendance

jrahma avatar Jun 14 '19 13:06 jrahma

Hi This will be a fantastic feature!! We are stuck with plugins out there that are not longer been supported and do not work when coming from the background. Basically there is not a single xamarin forms plugin that works properly including https://github.com/smstuebe/xamarin-fingerprint

Please give us the basic Biometrics for android/iOS first and build it up as you go along.

All the features other people mentioned are great but not if they have to delay the functionality for ages!!!

Great work!!!

developer9969 avatar Jul 07 '19 10:07 developer9969

I agree with @developer9969 the only alternative to this is xamarim-fingerprint. Would be very nice to have this feature on Xamarim.Essentials as Fingerprint is a very common thing this days.

alan-araya avatar Jul 22 '19 13:07 alan-araya

xamarin-fingerprint is pretty broken right now. It's throwing exceptions on any device running Android 9 and any non-Samsung device running Android 8 or lower. A Java.Lang.Exception that indicates the device connected isn't a Samsung device. Even wrapping the Xamarin.Forms code in a try/catch block doesn't prevent crashes.

DeerSteak avatar Sep 05 '19 14:09 DeerSteak

I 100% agree, that this now an 'Essential' feature for most apps today... Would be great to see this implemented please!

Lydecker avatar Sep 11 '19 22:09 Lydecker

@Redth @jamesmontemagno and all the contributors THANK YOU very much for giving us Xamarin essentials. Not sure where this issue lives in the order of priority but I would really much appreciate if there is a realistic chance of being worked in the immediate future. Is this is not the case is there any chance for any of the xamarin android team to publish some guidance and advises on how to write a biometric api that uses the supported android api and I will give it a go myself.

As you guys know for sure if you write any sort of business app biometric key is a MUST. iOS is pretty straightforward in my eyes but Android is not.

many thanks

developer9969 avatar Sep 12 '19 13:09 developer9969

I would like to see this in Essentials. It makes sense to expose something intrinsically hardware related to Essentials. It looks like work on xamarin-fingerprint has stalled.

anotherlab avatar Sep 13 '19 17:09 anotherlab

@jamesmontemagno can I ask if there are any plans to make this part of XE. And possibly if there is a timeline?

ndastur avatar Nov 13 '19 11:11 ndastur

We do want to add this, but I think it’s safe to assume we will wait until Essentials depends directly on AndroidX and we can use the new biometric AndroidX library.

Redth avatar Nov 13 '19 20:11 Redth

@Redth great any timeline about the androidx dependency

developer9969 avatar Nov 13 '19 20:11 developer9969

I've already done that and released a pre release package with AndroidX. Unfortunately the priorities of MS for supporting AndroidX stable, are not that high :( So I had to create the binding on my own.

https://www.nuget.org/packages/Plugin.Fingerprint/2.0.0-alpha.2

Feel free to test and give feedback: https://github.com/smstuebe/xamarin-fingerprint/issues/151

smstuebe avatar Nov 13 '19 21:11 smstuebe

Are there any news about this?

ernestoyaquello avatar May 12 '20 14:05 ernestoyaquello

Any update on this?

Mikilll94 avatar Jul 06 '20 18:07 Mikilll94

UP

AndreiZachi avatar Oct 01 '21 10:10 AndreiZachi

Any progress?

chaoyebugao avatar Dec 25 '21 13:12 chaoyebugao

I think at this point it's safe to say that this won't be making it's way into Xamarin.Essentials anymore. Keep your eye on .NET MAUI for all new development! Thanks for all input and efforts here.

jfversluis avatar Aug 12 '23 07:08 jfversluis