android/security-samples

Fingerprint permission

codingjeremy opened this issue · 2 comments

Issue by andris95
Thursday Mar 16, 2017 at 08:16 GMT
Originally opened as googlearchive/android-FingerprintDialog#45


Hello! In this sample project there is comment like this:

Now the protection level of USE_FINGERPRINT permission is normal instead of dangerous.

But it is not true, in my project I am using compilseSdkVersion and targetSdkVersion 25.0.2.
And for example, to check if the device has a fingerprint sensor, i call this method:
if (!mFingerprintManager.isHardwareDetected())
and it says

if (!mFingerprintManager.isHardwareDetected())

Comment by yashasvigirdhar
Tuesday Jun 06, 2017 at 07:08 GMT


By Normal permission, it means that you can declare the permission in manifest and will be granted the same on app install. You don't need to request this permission at runtime. (All this applies for api >= 23 of course)

Comment by LoPoBo
Friday Jun 16, 2017 at 12:35 GMT


I also saw this comment and found it confusing; has USE_FINGERPRINT ever been dangerous? I could not find any documentation supporting this.