4
votes

I am developing a multi-platform app with Xamarin Forms. I need to support Touch ID/fingerprint authentication for both the iOS and Android platforms. How can I do this? I am new to Xamarin.

2

2 Answers

2
votes

You will need to use a Dependency Service for platform-specific behavior. Look to the linked guide as a starting point.

18
votes

I've developed a Plugin for this. It's available on NuGet, too. Feel free, to drop an issue, if you miss something, or found an error.

https://github.com/smstuebe/xamarin-fingerprint

In general: There are alot of Plugins that abstract platform specific behavior. Before you write something on your own, just google for "<feature> xamarin plugin". It will safe much time.