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
168 stars 131 forks source link

FaceID on new mobile devices #141

Open WuglyakBolgoink opened 4 years ago

WuglyakBolgoink commented 4 years ago

Hallo guys,

is it possible to use faceId instead of fingerprint on mobile device. For example on my Huawei P20 Pro I can activate faceId for unlocking device and fingerprint to access my apps.

mcendon commented 4 years ago

This is a new feature on the BiometricManager of Android (https://developer.android.com/reference/android/hardware/biometrics/BiometricManager) This plugin doesn't use BiometricManager, it uses the old FingerprintManager Someone have to rewrite the plugin to support this, or you can use https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio that already support "Face ID" for android.