Questions tagged [android-biometric-prompt]

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

Reference:

211 questions
0
votes
0 answers

Need to get android supported biometric types

I wants to get supported Biometric type user can authenticate. val biometricManager = BiometricManager.from(this) when (biometricManager.canAuthenticate()) { BiometricManager.BIOMETRIC_SUCCESS -> { //In here I needs to get the…
0
votes
1 answer

How to re-login using Biometric authentication?

I am developing an login feature using username/password and biometric authentication. My thinking usecase is: User login via username/password for the first time and get there Token (access_token/refresh_token). User go to app's setting and enable…
NamNH
  • 1,752
  • 1
  • 15
  • 37
0
votes
1 answer

Device credential (PIN) using BiometricPrompt destroys calling activity

we are currently facing a weird BiometricPrompt behaviour on some Android devices. The problem is brand/manufacturer independent because it works e.g. on some Samsung devices but on others doesn't. The Issue To approve some transaction made by the…
0
votes
0 answers

Generate a hash value for biometric authentication on android using inbuilt fingerprint scanner using Kotlin

I am new to android programming using Kotlin. I want build a class attendance app for students. I need a security measure such as a biometric authentication using a fingerprint scanner. However, I don't want android to do the authentication by…
0
votes
1 answer

In Biometric Prompt Dialog biometric icon is not showing in Android 11

Android device Mi 10T and android version is 11 On click of button biometric prompt dialog is showing but biometric icon is not showing in that prompt dialog. Below is Biometric Dialog's code BiometricPrompt.PromptInfo promptInfo = new…
0
votes
0 answers

How to activate biometric login if switch is activated

i created this Activity to login with fingerprint. But how i can enable/disable this activity with a switch in the MainActivity. I know that i cant change the manifest programmatically. So how can i do this? ImageView btnUnlock; TextView…
Xano
  • 1
  • 1
0
votes
1 answer

BiometricPrompt Error cases for onAuthenticationError() after update to latest version

I have updated the version of a library from: ` from 'androidx.biometric:biometric:1.0.1' to -> 'androidx.biometric:biometric:1.1.0' I saw that there are new possible errors and I was wondering how to handle them! Ide show error warning for switch…
0
votes
1 answer

Customize the Biometric Prompt for Android

I have an implementation of the Fingerprint Biometric authentication for Android which works pretty much as described by the documentation. I am trying to remove the close button aka the "setNegativeButtonText" value. This will make the biometric…
0
votes
0 answers

Keystore operation fails after Biometric Operation despite success method called on callback

I am attempting to perform a signing operation with a secret key that can only be used after user authenticates with their device biometrics. I have the logic like this val mac = initMac(keyAlias) val biometricPrompt =…
0
votes
0 answers

Biometric prompt

I am using accessibility class to block apps in my app the issue is that am using Biometric prompt in my Accessibilty Class which require activity or fragment kindly provide me solution for that, biometricPrompt =…
0
votes
0 answers

[Android 11][biometric] Authentication Callback functions doesn't trigger after dismiss the previous prompt by pressing back key

I face an issue on Android 11 (API 30). The BiometricPrompt.AuthenticationCallback() is not triggered. Step to reproduce: Show Biometric prompt Press the back key to make the dialog be dismissed and onAuthenticationError triggered. try to show the…
Tan174
  • 1
  • 1
0
votes
0 answers

How to get if user click on use patterns button or user moves to patter pin screen from biometric prompt with Flutter - local_auth?

Is there any way we can detect when user navigate to password/pin screen when clicking on use patterns button or when system redirects them after some wrong attempts?
0
votes
1 answer

Android camera permissions reduce availability on Playstore

I have an flutter app in playstore but rigth now i'm trying to update with new features, but some camera permissions/features are reducing the app availability The current devices admited are 17.706 and with my new update are just 12.672, and the…
0
votes
0 answers

How to customize the fingerprint prompt bottom dialog working on Android emulator in react-native-biometrics

developers, I am working on a react native project that requires faceid login functionality. Thanks to the libs and sample codes in the github repo, I implemented on my app very easily. However, it displays the default bottom dialog when requiring…
0
votes
0 answers

Could not able to add biometric dependency in build.gradle file . Facing below error

Could not find method implementation() for arguments [androidx.biometric:biometric:1.0.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Note : Not using AndroidStudio to compile the apk . Using Make…