0

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 enter image description here

mBiometricManager = new BiometricManager.BiometricBuilder(context)
                    .setTitle(context.getString(R.string.screen_login_biometric_prompt_title))
                    .setSubtitle(context.getString(R.string.screen_login_biometric_prompt_subtitle))
                    .setDescription(context.getString(R.string.screen_login_biometric_prompt_description))
                    .setNegativeButtonText(context.getString(R.string.screen_login_biometric_prompt_negative_text))
                    .build();

But on the devices with scanner that is on the screen this is not shown, just grey button to touch:

enter image description here How to show this dialog, like in the other devices:

Foenix
  • 376
  • 4
  • 18

0 Answers0