Questions tagged [android-biometric-prompt]

For questions about Android's BiometricPrompt API feature used for biometric authentication.

0
votes
1answer
16 views

How to show system password option if Biometric authentication failed?

I have added Biometric Prompt in my Android app. So on app start, I am able to show prompt and if success is able to redirect user on the Dashboard screen. In case user failed I want to show System ...
0
votes
0answers
13 views

Can one choose a precise biometric authentication using BiometricPrompt?

I am looking for implementing Fingerprint authentication on an Android app, using BiometricPrompt, but I don't seem to be able to choose only Fingerprint. I don't want my users to be able to ...
0
votes
1answer
22 views

Can i customize failure messages in Biometric prompt?

I am implementing BiometricPrompt in my app, everything is fine except that i am not able to change some failure messages. BiometricPrompt class provide methods to change the title, subtitle, ...
1
vote
0answers
38 views

Biometric prompt not displayed on Android 6

I am trying to use BiometricPrompt to use fingerprint sensor for authentication. My minimum supported sdk is 23 (Android M). It works on all android version I tested except for marshmallow. In ...
0
votes
1answer
13 views

How to associate the user fingerprint with the login information

I'm trying to understand how to implement bio-metric authentication on an app, specifically using a fingerprint. From what I understood so far the API only provides 3 different information: auth ...
0
votes
0answers
25 views

How to make BiometricPrompt non-cancelable?

I am using BiometricPrompt in my application. It works well and shows the dialog when call the authenticate() method. But this dialog gets closing when I click outside the dialog. How to prevent it? ...
0
votes
0answers
18 views

java.lang.IllegalStateException error in BiometricPrompt.authenticate

I am using androidx.biometric:biometric:1.0.0-alpha04 library in my project. But I could see many crashes in crashlytics as well as play-store when I am trying to authenticate using BiometricPrompt. ...
2
votes
2answers
60 views

Check if devices has biometric enabled with androidx biometric prompt

In Android BiometricPrompt prompt has replaced the deprecated FingerprintManager. FingerPrintManager has two functions hasEnrolledFingerprints() and isHardwareDetected() to check if the device ...
1
vote
1answer
24 views

BiometricPrompt hints are not localized

Issue We are changing the locale inside the app, everything works except the hints in the fingerprint dialog. Whatever language we set, we always have english hints: Touch the fingerprint sensor Not ...
1
vote
0answers
21 views

setUserAuthenticationValidityDurationSeconds doesn't work with BiometricPrompt

I am implemented biometric authentication with BiometricPrompt (androidx). It works well but I can use key only one time. If I trying to use it second time immedatelly after first time - I get an ...
0
votes
0answers
22 views

Android Biometric Authentication return “unique id” and encrypt with it

i am having problem. I have searched google for biometric authentication but all example apis just returns me "authentication success" with boolean value. Example: https://proandroiddev.com/5-steps-...
4
votes
1answer
121 views

BiometricPrompt: how to encrypt few strings?

I need to encrypt few strings using biometric authentication in my application. I am using this code: val promptInfo = BiometricPrompt.PromptInfo.Builder() .setTitle("Title") ....
2
votes
0answers
76 views

FragmentManager is already executing transactions when Executing biometricPrompt?.authenticate(promptInfo) inside a Fragment

If you create biometricPrompt and promptInfo in the activity, it works fine. But I can't manage to make it work inside a fragment. This is inside of a fragment and it gets called inside OnViewCreated....
0
votes
1answer
38 views

Android Biometric hit FINGERPRINT_ERROR_LOCKOUT how to reset without waiting 30seconds

Android 6.0 above, not using Samsung library. Using android-google biometric library, when user hit maximum attempts it will throw FINGERPRINT_ERROR_LOCKOUT. I know that after 30seconds user is allow ...
0
votes
0answers
94 views

Using Android BiometricPrompt or FingerprintManager with password fallback

I'm trying to create Android app with secure access to keystore with biometrics. I'm using this samples: https://developer.xamarin.com/samples/monodroid/FingerprintGuide/ https://developer.xamarin....
5
votes
1answer
220 views

Android crashed after updating androidx biometric to 1.0.0-alpha04

Everything works fine with 'androidx.biometric:biometric:1.0.0-alpha03', however when I build my project with the latest 'androidx.biometric:biometric:1.0.0-alpha04' and call myBiometricPrompt....
4
votes
0answers
199 views

BiometricPrompt crashes on Samsung S9 with Face unlock

I am using the new BiometricPrompt API in Android P (API 28) in my application. (I am actually using it inside a wrapper based on this project so that it functions on older devices too, but that is ...
0
votes
0answers
18 views

Throws user is not authenticated to access the Keys in KeyStore in Samsung S10

I am using Biometric API to access my Keystore. To access the keystore, I have enabled setUserAuthenticationRequired to true. When accessing the Keystore, I will call the biometric api and ...
2
votes
1answer
64 views

How to check user's Bio-Metric Preference through Biometric api?

As we all know, from android 9.0, android introduced BiometricPrompt Api to provide standard authentication experience across growing range of biometric sensors (E.g Fingerprint,Face ID etc). Now ...
0
votes
2answers
189 views

Jetpack's BiometricPrompt (androidx.biometric.BiometricPrompt) throws NullPointerException

I'm using androidx.biometric:biometric:1.0.0-alpha03 in a test project and when pushing the negative button I always get the following error message: java.lang.NullPointerException: Attempt to invoke ...