9

The documentation for the USE_BIOMETRIC permission says

Allows an app to use device supported biometric modalities.

But AndroidX's BiometricPrompt works without this permission. So what exactly is it needed for?

Florian Walther
  • 6,237
  • 5
  • 46
  • 104

1 Answers1

13

Works because the library already declares it in its own manifest:

https://android.googlesource.com/platform/frameworks/support/+/63add6e2590077c18556dcdd96aa5c6ff68eb13b/biometric/biometric/src/main/AndroidManifest.xml

Rick Sanchez
  • 4,528
  • 2
  • 27
  • 53