For questions about Android's BiometricPrompt API feature used for biometric authentication.
Questions tagged [android-biometric-prompt]
211 questions
0
votes
0 answers
Crash when using Biometric API on some devices
We use androidx.biometric:biometric:1.0.1 in our application, and on some devices we get an error
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setVisibility(int)' on a null object…

Rasul
- 727
- 7
- 20
0
votes
1 answer
Android: CryptoObject and BiometricPrompt security. Is it possible to hack?
I need to securely store certain secret in my app using biometry. I wanted to use BiometricPrompt to obtain CryptoObject which will be used to cipher and decipher this secret (e.g. like described here:…

BBNN
- 33
- 5
0
votes
1 answer
Xamarin.Android (BiometricPrompt): setAllowedAuthenticators() method missing
I've implemented BiometricPrompt for biometric login using the Nuget package published by Microsoft successfully.
I want my app to only allow strong (Class 3) biometric hardware. The native documentation states I should call…

Jay Sidri
- 6,271
- 3
- 43
- 62
0
votes
1 answer
How do I add a biometric prompt before a user accesses my app settings?
I am using android's provided androidx settings library and I am having trouble adding biometrics to one of my settings. I am also using the androidx biometric library. The way android handles the results of biometrics is through call backs. This is…

Smail Barkouch
- 1
- 1
- 3
0
votes
1 answer
Why does android BiometricPrompt authentication bound encryption throws IllegalBlockSizeException
I am quite unsuccessfully trying to implement BiometricPrompt with authentication bound decryption key(without allowing pin/password/pattern alternatives). I am using asymmetric keys since I need to encrypt a string without user authentication and…

Macs
- 197
- 2
- 15
0
votes
1 answer
How can i implement face authentication using biometric prompt in android x?
But can i implement face authentication using biometric prompt or any other android api's in my app.
If no, are there any sdk which I can use to implement this feature in my app??

Abishek B
- 3
- 2
0
votes
0 answers
Can you use the biometric manager and biometric prompt to do facial recognition?
I am currently using the biometric manager and biometric prompt to create a fingerprint authentication app on a google pixel 2. The code below is for that app. However, i was wondering if i changed to developing on a google pixel 4 instead could i…

Jack1999
- 71
- 5
0
votes
1 answer
About the BiometricPrompt.authenticate()
In the Android Developer reference I found this quote:
This call warms up the biometric hardware, displays a system-provided
dialog, and starts scanning for a biometric.
This calls verify if the user have or not the fingerprint on smarthphone?…

Gabriel Júnior de Souza
- 55
- 10
0
votes
0 answers
Biometric dialog issue on the devices with fingerprint scanner on screen
I use 'androidx.biometric:biometric:1.0.1' to show biometric prompt on the device before using it, that is explain why user can user fingerprint in application and button to deny
it
mBiometricManager = new…

Foenix
- 376
- 4
- 18
0
votes
1 answer
close prompt after three failure attempts in androidx biometric prompt?
I am using androidX biometric prompt in my application. In that I am having three queries,
Is there any option to close the prompt, after counting three failure attempts.
Is there any option to display the password screen, without clicking use…

Naveen Kumar
- 141
- 3
- 11
0
votes
1 answer
How to get name of fingerprint Android device?
I work with biometric fingerprint Android. When we register a fingerprint at settings, we also store the name of a fingerprint. My question is, is it possible we get the name of the fingerprint? I have code just authentication fingerprint, but I…

Abed Putra
- 1,153
- 2
- 17
- 37
0
votes
0 answers
AndroidBiometricPrompt onAuthenticationError returns wrong error
I implemented the new androidx.biometric:biometric:1.0.1 as described here and using setDeviceCredentialAllowed(true). On API 29 it works correctly, on API < 29 when there aren't any device credentials set I would expect to get…

David
- 3,971
- 1
- 26
- 65
0
votes
1 answer
Getting proguard error on adding androidx biometric API ( "androidx.biometric:biometric:1.0.1")
I am getting following error on building release apk after adding androidx biometric api "androidx.biometric:biometric:1.0.1" in gradle file
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking…

user3625750
- 11
- 1
0
votes
1 answer
Which android bio-metric API we can use to implement Face unlock feature while accessing sensitive data
I want to implement Face unlock feature while accessing sensitive data of applications.
So is there any build it Api like fingerprint

Sachin salunkhe
- 100
- 1
- 8
0
votes
1 answer
Android BiometricAuthenticator.AuthenticationResult mUserId and multiple users
On Android, I would like to biometrically distinguish which user is using my app.
I am not looking to have direct access to their raw fingerprint data, or face recognition.
I am just assuming that more than one user might be using the phone.
Is…

eshalev
- 3,033
- 4
- 34
- 48