googlearchive / android-FingerprintDialog

Migrated:
https://github.com/android/security
Apache License 2.0
1.38k stars 477 forks source link

Can we use android-FingerPrintDialog with API less than API23 ? #22

Closed Elsobkey closed 8 years ago

Elsobkey commented 8 years ago

I'm trying to use this sample in android version less than android M , Noticing that there is a class called FingerPrintManagerCompat and FingerPrintManagerCompatAPI23 is this can do the same thing as the FingerPrintManager ? If Yes , how to use it please (any reference)

thanks in advance ...

thagikura commented 8 years ago

No we can't. The minSdkVersion for this sample is 23.

If you want to use FingerrpintManager in apps whose API level is less than 23, you may consider using FingerprintManagerCompat, which behaves as if no fingerprint sensors are available with API level less than 23.