简体   繁体   中英

Is there an API/Library that will return the Authentication Level of an Android Application

I'm currently writing an android app where I use PackageManager to get all of the installed applications on the device. I want to order them in a recyclerView based on their level of authentication (if they require a fingerprint, passcode, or facial recognition to use). Is there any library or API out there that can get me close to something like this?

Thanks!

Is there any library or API out there that can get me close to something like this?

No. You can use PackageManager to see what apps request the USE_FINGERPRINT or USE_BIOMETRICS permissions. However:

  • You have no idea to what extent the app is using those permissions

  • That may not cover device-specific proprietary SDKs (eg, Samsung's)

  • You have no way of determining if an app requires a password or other forms of authentication

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM