17

Hi as mention in this post there is BiometricPrompt API for devices supporting Android O and lower but I am unable to find out BiometricPrompt Compat Library (as mention in image), is anyone able to help me to point out where is that support library, any link or guide?enter image description here

Nikhil
  • 1,023
  • 17
  • 35
  • 1
    I suspect that it does not exist yet. It does not appear in the JavaDocs. I cannot find a particular support library that seems to have biometrics (or even security in general) as a focus. – CommonsWare Jul 29 '18 at 10:52
  • 1
    Thank you for asking this question, I hope Google take note. I've been unable to find it in support 28.0.0-rc01 or any other mentions elsewhere. – James Aug 07 '18 at 09:15
  • I've the same thought when I read that, this question is helpful – Wesely Apr 29 '19 at 05:00

2 Answers2

7

I'm assuming it will be released soon as the source code for it appears here: https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/biometric/src/main/java/androidx/biometrics/BiometricPrompt.java.

I'm guessing the Google Maven artifact will be androidx.biometrics. (See https://mvnrepository.com/artifact/androidx)

Troy Perales
  • 189
  • 1
  • 5
  • 3
    If anybody wants to know how to use Biometric Compact APIs following is a good article https://medium.com/@natiginfo/fingerprint-authentication-using-biometricprompt-compat-1466365b4795 – virtualpathum Jan 07 '19 at 07:53
  • The Maven artifact (and its latest version) can be found here: https://mvnrepository.com/artifact/androidx.biometric/biometric – mreichelt Feb 14 '19 at 10:17
  • This answer do not help at all .. i always have stupid errors when adding bio-metric support libraries .. please see question : https://stackoverflow.com/questions/55052336/cant-add-androidx-biometric-dependency-to-app-level-build-gradle-file/55052566#55052566 My simple question is how can i add this into my cordova-android project ? – YogiAR Mar 07 '19 at 21:21
1

It is indeed in the https://mvnrepository.com/artifact/androidx repository.

You can find it here https://mvnrepository.com/artifact/androidx.biometric

Cosmin
  • 2,840
  • 5
  • 32
  • 50
  • This answer do not help at all .. i always have stupid errors when adding bio-metric support libraries .. please see question : https://stackoverflow.com/questions/55052336/cant-add-androidx-biometric-dependency-to-app-level-build-gradle-file/55052566#55052566 – YogiAR Mar 07 '19 at 21:21