Recently, Google allowed developers to use Fingerprint API in Android 6.0 (API 23).
I have an android project with compiledSdkVersion 23
and minSdkVersion 17
.
My question is: Can i use Fingerprint API in my project, i tried to use Google sample in my project but i have this error message:
Class Requires API level 23 (current min is 17)
if i can i will be grateful to any one gives me a good tutorial.
thank you
The biometric API provides three basic functions: Match biometric information on-card. Enroll users off-card and transfer their information on-card. Verify the user in a sequence of off-card and on-card interactions.
Beginning in August 2021, the Google Play Console requires that new apps target API level 30 (Android 11.0) or higher. Existing apps are required to target API level 30 or higher beginning in November 2021.
you can use Support Library v4 to support minSdk less than 23. You have to use class name accordingly e.g. FingerprintManagerCompat, etc.
Check this github sample
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With