mjwheatley / cordova-plugin-android-fingerprint-auth

A cordova plugin for fingerprint authentication using the hardware fingerprint scanner on devices running Android 6+
Apache License 2.0
169 stars 131 forks source link

Deprecated FingerprintManager in API level 28 #145

Open WuglyakBolgoink opened 4 years ago

WuglyakBolgoink commented 4 years ago

Hallo @mjwheatley

are you planing to migrate into new API?

This class was deprecated in API level 28. See BiometricPrompt which shows a system-provided dialog upon starting authentication. In a world where devices may have different types of biometric authentication, it's much more realistic to have a system-provided authentication dialog since the method may vary by vendor/device.

image

See

WuglyakBolgoink commented 3 years ago

up

ivandroid commented 3 years ago

Any updates? This plugin doesn't work on API level 29.

benjamin-luescher commented 3 years ago

Any updates? This plugin doesn't work on API level 29.

It still works with target SDK 29 (didn't test it with target SDK 30 yet). But may it won't work in future with newer SDKs as it is deprecated since API level 28. 🤷‍♂️ That's why I'm also interested in the migration to BiometricPrompt.

WuglyakBolgoink commented 2 years ago

@benjamin-luescher are you already migrated to another plugin?

andreszs commented 2 years ago

@benjamin-luescher are you already migrated to another plugin?

The cordova-plugin-fingerprint-aio is better mantained and provides more options, also features the iOS platform. Pre compiled demo app for that plugin is available here.

Android 8: image

Android 10: image

WuglyakBolgoink commented 2 years ago

Hallo @andreszs!

Thank you very much! we will try this plugin too!