Questions tagged [android-biometric]
128 questions
37
votes
1 answer
Android emulator face recognition
Is there any way to test android face recognition provided by BiometricPrompt on an emulator?
I know of the command:
adb -e emu finger touch
but this is only for fingerprint authentication.

AdamN
- 476
- 5
- 13
12
votes
1 answer
Which Android device has BIOMETRIC_STRONG (Class 3) face authentication?
I have implemented biometric authentication in my application with biometric level BIOMETRIC_STRONG (Class 3). The fingerprint authentication is working as expected but I couldn't able to test the face authentication on any of my devices (Samsung…

Suneesh Ambatt
- 1,347
- 1
- 11
- 41
12
votes
5 answers
How to check support of Touch ID, Face Id ,Password and pattern lock in React-Native
I am using react-native-fingerprint-scanner for Touch ID, Face Id, Passcode authentication.
Touch ID is working for me but How can I check if device support or not?
I have tried using react-native-touch-id but it is not for Face Id on android.
Is…

Sagar
- 5,273
- 4
- 37
- 50
10
votes
4 answers
Face Authentication using androidx Biometric API in Android
I need to integrate Biometric authentication using Fingerprint and Face authentication. Fingerprint authentication works perfectly but when I set only Face authentication I am getting Biometric not enrolled response from…

Vijay Patole
- 355
- 3
- 17
9
votes
1 answer
What is the USE_BIOMETRIC permission needed for?
The documentation for the USE_BIOMETRIC permission says
Allows an app to use device supported biometric modalities.
But AndroidX's BiometricPrompt works without this permission. So what exactly is it needed for?

Florian Walther
- 6,237
- 5
- 46
- 104
8
votes
1 answer
Android Biometric Prompt is not dismissed when device home button is pressed
When Biometric prompt is shown in App with setDeviceCredentialAllowed(true), It is not dismissed when device home button is pressed. It throws BiometricPrompt.ERROR_USER_CANCELED error and keeps the System UI as is.
Did any one face this issue ? Is…

Shanker
- 864
- 6
- 24
7
votes
1 answer
setDeviceCredentialAllowed and ERROR_USER_CANCELED
I'm implementing biometrics and I would like to be able to fall back to using PIN if user doesn't want/have biometrics.
The issue is that when the user selects "Use PIN", enters their pin, and authenticates two different callbacks get triggered:
The…

alisonthemonster
- 1,095
- 1
- 11
- 28
7
votes
0 answers
How to write Espresso test for BiometricPrompt
I am new in espresso test and I wanted to write the Espresso test for BiometricPrompt which is Google provided API to authenticate the fingerprint.

Mithun
- 71
- 1
6
votes
1 answer
Add Custom layout to Biometric Prompt
Is there any way to add our own custom layout to biometric prompt as I have seen various similar threads but there seems to be no solution provided for it yet and fingerprintmanager is deprecated so i don't want to use that.

Cosmic Dev
- 522
- 6
- 20
6
votes
2 answers
Register user biometrinc finger print in flutter
Can we register a biometric fingerprint on the phone in flutter. I search about that on google and found loca_auth flutter plugin but it can only get the list of biometric fingerprints and authenticate fingerprint but what I need is to register…

TheAlphamerc
- 795
- 4
- 15
5
votes
1 answer
Detect device is secured with pin lock or fingerprint lock of face lock?
My application contains user authentication for login(includes pin/pattern, fingerprint unlock) which depends on device security. I am using Biometric manager to detect whether device has fingerprint support using BiometricManager and also checking…

Prasanth
- 51
- 6
5
votes
0 answers
BiometricPrompt dialog on lock screen
I'm trying to implement the fingerprint authentication in my android app.
I'm using this library: https://github.com/infinum/Android-Goldfinger which uses BiometricPrompt and it works really good.
The issue is that I need to use it in an activity…

Francesco Re
- 836
- 6
- 22
4
votes
0 answers
BiometricPrompt description is truncated in Android 12
The only related thing I can see from the Android 12 new features/API added in android documentation is "Localizeable strings for BiometricPrompt"
My problem is illustrated in the image below and code looks something like
…

Zerosero
- 323
- 3
- 15
4
votes
1 answer
Biometric Prompt SubTitle text getting truncated on Android
I have implemented biometric authentication where my subtitle(Verify biometrics for username to Sign In to My App Name) is a bit long and it's getting truncated at the end this is happening mainly on Samsung Devices.
Any limits on character length…

Girish
- 2,196
- 2
- 18
- 24
4
votes
0 answers
How can I prevent BiometricPrompt from opening over a black screen window on Samsung devices?
I am implementing the BiometricPrompt API and running into undesirable behavior on Samsung Galaxy S10e with OS 10.
The BiometricPrompt dialog displays over a black screen rather than having my Login page in the background. If I tap the Overview…

Austin
- 41
- 2