3

I have tried by setup faceunlock on Pixel 2 device,but BiometricPrompt doesnot shows faceunlock dialog,but always shows same fingerprint dialog. Also BiometricPrompt authenticate method explains,it is only for fingerprint. Still BiometricPrompt not support Faceunlock?

How to implement Faceunlock inside app,if device supports faceunlock,but below Android P.For example,Samsung S9.

Ramprasad
  • 7,981
  • 20
  • 74
  • 135
  • 1
    Biometric prompt only use strong authentication. Which is currently fingerprint only, but in future, it could be better iris and face scanners. – JoKr Sep 04 '18 at 08:00

2 Answers2

3

https://source.android.com/security/biometric/

Android 9 only includes fingerprint integration for BiometricPrompt. However, integrated support for other biometric modalities are forthcoming.

Machavity
  • 30,841
  • 27
  • 92
  • 100
Yuan Yao
  • 31
  • 2
1

The device must support strong type of face unlocking. This fulfills Pixel 4 but not Pixel 2 or Pixel 3.

Please see also: Android Biometrics All biometric implementations must meet security specifications and have a strong rating in order to participate in the BiometricPrompt class.

petrsyn
  • 5,054
  • 3
  • 45
  • 48