Questions tagged [android-biometric]
128 questions
1
vote
1 answer
Why negativeButton is "invisible"?
I'm trying to build an app with biometric authentication (Fingerprint) and I'm having some troubles with the negative button.
The button works, but for some reason is completely invisible.
This is how the app shows
And this is how it sees when you…

Vanesa
- 37
- 1
- 5
1
vote
0 answers
Biometric Prompt on Android devices and Applicatioin authentication
I Would like to know more about the Biometric Authentication in Android.
First : How the the Biometric differentiate between all available authentications like face ID, Finger Print or Iris ???
Second: If user has registered face ID, Finger Print at…

Narendar
- 35
- 2
- 8
1
vote
1 answer
How to get list of available biometric sensors in an android device (any tweaks as documentation doesn't state any)
Is there any way to get a list of biometric sensors which are already configured in the device.
For example if there are all sensors configured like;
iris
fingerprint
face
I find all 3, but if any one of the 3 is configured, I want to get the one…

sandeep dhami
- 188
- 1
- 10
1
vote
0 answers
AndroidX BiometricPrompt on devices running Android 9 and lower
When using the BiometricPrompt with setDeviceCredentialAllowed(true) and then doing multiple failed fingerprint auths, I would expect the device to fallback to requesting PIN/pattern to unlock the device. In my experience, no Android device below…

Johan Paul
- 2,203
- 2
- 22
- 38
1
vote
0 answers
Show biometric authentication dialog on activity page instead of showing it as alert dialog
I am implementing biometric prompt for my application. Currently it's authentication dialog is shown as alert dialog .Instead of this I want dialog to be displayed in activity page (I don't want it to be displayed as alert dialog)
I want it like…

ajay argade
- 29
- 1
- 3
1
vote
1 answer
What is the correct flow to check for biometrics and pin/password with BiometricPrompt?
BiometricManager has a canAuthenticate method that can return either of 4 flags:
when (biometricManager.canAuthenticate()) {
BiometricManager.BIOMETRIC_SUCCESS ->
Log.d("MY_APP_TAG", "App can authenticate using biometrics.")
…

Florian Walther
- 6,237
- 5
- 46
- 104
1
vote
1 answer
Android BiometricPrompt on AuthenicationSucceeded does not work
Android BiometricPrompt has completed fingerprint recognition, but onAuthenicationSucceeded does not work.
And I used androidx
Example: Log.i("finger", "onAuthenticationSucceeded") is not output
Copied this code:…

타터터
- 101
- 2
- 5
1
vote
1 answer
Bio metrics FACE ID working only in Samsung device
Bio metrics FACE ID working only in Samsung device
dependencies {
def biometric_version = "1.0.0"
implementation "androidx.biometric:biometric:$biometric_version"
}
I have implemented above biometrics android but it works fine in all…

android2892
- 43
- 1
- 6
1
vote
1 answer
Android: How do we get BiometricPrompt working with Samsung s10 (ultrasonic fingeprint scanner)
Has anyone gotten AndroidX BiometricPrompt to work with Samsung s10? (Model # SM-G973U1)
I'm getting Error code 11 with a blankerror string (after. authenticate) and the user does not see the prompt at all.
See:…

nAndroid
- 862
- 1
- 10
- 25
1
vote
3 answers
Biometric Prompt crashing on Android 9 and 10 on some devices
I am using BiometricPrompt to let the user use fingerprint authentication to log into the app
I have done the following in my PasswordActivity class:
Executor executor = Executors.newSingleThreadExecutor();
FragmentActivity activity =…

user2234
- 1,282
- 1
- 21
- 44
1
vote
2 answers
"fingerprintManager!!.isHardwareDetected" always return true
I want to know, the device on which my app running is support fingerprint or not.
But
if(!fingerprintManager!!.isHardwareDetected)
{
Toast.makeText(context,"Your device doesn't support fingerprint authentication", Toast.LENGTH_SHORT).show()
}…

Phone Lin
- 19
- 2
1
vote
1 answer
Is there anyway to identify which fingerprint used for unlocking/ accessing?
Suppose i've enrolled 5 fingerprints in my phone. I need to check which of the 5 fingerprint is used for login to my application. Or any way to check the fingerprint if it's not the primary fingerprint.

Manoj Perumarath
- 9,337
- 8
- 56
- 77
0
votes
1 answer
How to check if the biometric authentication dialog is displayed?
In my application i use BiometricManager for creating system verification dialog:
mBiometricManager = new ch.instaguard2.insta.app.utils.biometric.BiometricManager.BiometricBuilder(BaseActivity.this)
…

Sunbey13
- 339
- 4
- 12
0
votes
0 answers
Integrating Blockchain Technology with Android Biometric Authentication
I'm working on a personal Android app where security is a top priority, and I want integrating blockchain technology with biometric authentication. I envision a scenario where users' biometric data (fingerprint, facial recognition, etc.) is not only…

Muzammal Abdul Ghafoor
- 136
- 6
0
votes
1 answer
How to determine available biometric authentication types in Dart and Flutter?
I need to determine the available authentication methods for mobile devices (iOS and Android), but local_auth leaves some features to be desired. Specifically, the issue I am facing is that all attempts using the local_auth package return…

Nathan
- 1