0

Currently implementing a fingerprint authentication following this tutorial where a KeyguardManager is instanciated to :

[...] verify that a backup screen unlocking method has been configured (in other words a PIN or other authentication method can be used as an alternative to fingerprint authentication to unlock the screen).

Question : I was wondering if it was really necessary to have a KeyguardManager to use fingerprint authentication.

Thanks,

Ismail H
  • 4,226
  • 2
  • 38
  • 61
  • KeyguardManager is used to check if device is secured with keyguard in fingerprint implementation , and in device itself you cant set up fingerprint without Keyguard first you have to set it then you can add fingerprint – Pavan Apr 27 '17 at 13:52
  • Thanks for the answer. Do you know why they chose to forbid fingerprint in that case ? Why is it not possible that a protected app can be used in a unprotected phone ? – Ismail H Apr 27 '17 at 13:55

1 Answers1

0

You cannot use Fingerprint authentication in standalone mode in your app, for instance register multiple users fingerprint on same device.

When you use fingerprint authentication in your app, android check if user fingerprint match one of fingerprints register to unlock device.

Fingerprints are only register in Settings Unlock Android, your app cannot do it.

LaurentY
  • 7,495
  • 3
  • 37
  • 55