I\'m asked to show certain UI elements depending on the presence of biometric hardware. For Android 23-27 I use FingerprintManager#isHardwareDetected()
and
For those who do not want to wait for support library released, you can use nightly build like this
repositories {
maven {
url "https://ci.android.com/builds/submitted/5795878/androidx_snapshot/latest/repository/"
}
}
implementation group: 'androidx.biometric', name: 'biometric', version: '1.0.0-SNAPSHOT'
get build version from here
https://ci.android.com/builds/branches/aosp-androidx-master-dev/
branch aosp-androidx-master-dev
show latest build from androidx-snapshot