For questions about Android's BiometricPrompt API feature used for biometric authentication.
Questions tagged [android-biometric-prompt]
211 questions
0
votes
1 answer
FaceUnlock is not working in my app android kotlin
I have tried to setup fingerprint, pattern/password/pin, faceUnlock for my app. But Biometric doesn't works it always showing fingerprint with use pattern dialog. Is Still Biometrics not support FaceUnlock? If Not supported Biometric dependency…

Riya
- 41
- 4
0
votes
1 answer
Open Android credentials Setup programmatically
To display sensible data users can enable authentication in my app. I am using the android in-build authentication.
However, if the user did not secure his device using any pattern, pin, password or biometric authentication, I would like to open the…

Patrick Michiels
- 239
- 4
- 13
0
votes
0 answers
How to determine when new finger print is registered or old is deleted in Kotlin?
I tried to use biometricManager but there is no such error like new FingerPrint is added or old is deleted. how to handle it ?
fun checkBiometricFeatureState(biometricManager: BiometricManager) : Int? {
when…

misterios
- 300
- 1
- 2
- 15
0
votes
2 answers
I use Biometric api but only show finger Authentication no Face Authentication in android 10
I use vivo with android 10 and my code is very simple just one button and click it to authenticate
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_face_id)
…

GHH
- 1,713
- 1
- 8
- 21
0
votes
0 answers
Restrict User for only Fingerprint Authentication
Hy, I am a newbie currently learning Mobile development.
I am developing an application in which when the user presses the login button it will only give the option of Fingerprint authentication. but in my case, It gives options to the user to…

Saad Mehmood
- 26
- 5
0
votes
0 answers
Biometric Issue In Oppo & Realme device
When I touch in other area of biometric dialog operation get cancelled, It is not happening it other devices so I am not able to find solution, Is anyone has faced same kind of issue , please guide me

Richa Shah
- 930
- 3
- 12
- 27
0
votes
0 answers
How to cancel FingerprintManager.AuthenticationCallback after authenticating?
When I get this error code FINGERPRINT_ERROR_LOCKOUT I must wait 30 seconds to retry again but after 30 seconds when trying to put my finger again nothing will happen why? And can I cancel FingerprintManager.AuthenticationCallback after…

Taha Sami
- 1,565
- 1
- 16
- 43
0
votes
1 answer
How can I know if the user has enrolled fingerprints or not in Android Pie?
I'm trying to detect if the user has enrolled fingerprint or not in Android Pie using BiometricPrompt but this class will show the dialog and I want only to return true or false without any dialog.
Code
public boolean hasEnrolledFingerprints() {
…

Taha Sami
- 1,565
- 1
- 16
- 43
0
votes
1 answer
Is it possible to have biometric_storage to a centralized database where it can store multiple Users Fingureprints flutter
I have a flutter app with biometric authentication, currently only works with local authentication but I wanted to have all biometric information on a centralized place eg FireStore, or any other third-party storage where all devices will be…

lewis machilika
- 819
- 2
- 11
- 25
0
votes
1 answer
What are the possible causes of BIOMETRIC_ERROR_HW_UNAVAILABLE?
I found this definition from the code
/**
* The user can't authenticate because the hardware is unavailable. Try again later.
*/
public static final int BIOMETRIC_ERROR_HW_UNAVAILABLE = 1;
Since there's already BIOMETRIC_ERROR_NO_HARDWARE for the…

Aung Thiha
- 1,195
- 3
- 13
- 23
0
votes
1 answer
How to trigger KeygaurdManager to take fingerprint programmatically
As soon as I receive a push notification from my app I want to trigger the KeyguardManager to launch the fingerprint/pass code screen to open the phone from lock screen so that person can enter the phone and unlock the device.
I want to trigger this…

Nobody
- 58
- 1
- 9
0
votes
1 answer
BiometricPrompt without system provided dialog
Is it possible to silently scan fingerprint without opening system provided dialog and deprecated FingerPrintManager on api 28+?

Martynas B
- 2,843
- 2
- 12
- 15
0
votes
1 answer
Biometrics Prompt width issue Samsung S8
I have implemented BiometricsPrompt in one of my apps and have found that the dialog is not displayed properly just for Samsung S8. I have tested Samsung S10, Pixel 4, Nokia 6 and Android emulator with different resolutions so I believe the issue…

malaka
- 85
- 9
0
votes
1 answer
Error code 605 while trying to use biometric authentication on Android phone
When I install and run the apk on my device (Samsung Galaxy M30S, Android Q), and request for biometric authentication for login, it throws error code 605. How do I resolve this?
Error Code: 605 Error Name: null Message: Error in JavaScript callback…
0
votes
0 answers
Android BiometricPrompt throws NPE
I'm using BiometricPrompt on my app but this code throws NullPointerException on some devices (for instance Redmi 5 Plus)
if (biometricManager.canAuthenticate() == BiometricManager.BIOMETRIC_SUCCESS) {
…

Alvin
- 894
- 8
- 16