Currently we have isAutoStartPermissionAvailable , but this is only for the single permission of AutoStart, and even then it's for when the repository thinks it has some solution to start the Activity.
Sadly this doesn't even work in some cases, such as on Vivo devices (sample app crashed and showed it needs a permission that can't be granted: “com.vivo.permission.manage.permission.ACCESS”) .
So my request is to have a new function that will return a Set of enum values that tell us which special permissions exist on the device.
This way, we could instruct users to reach the app-info screen (or settings screen of the OS) of the app, and find these special permissions to be granted.
Examples of special permissions on Xiaomi (tested on Redmi 8 on Android 10, MIUI 12.5.2) :
Autostart
Home screen shortcuts
Show on Lock screen
Display pop-up windows while running in the background
Change Wi-Fi connectivity
Permanent notification (enabled by default, so usually not a problem).
Currently we have
isAutoStartPermissionAvailable
, but this is only for the single permission of AutoStart, and even then it's for when the repository thinks it has some solution to start the Activity.Sadly this doesn't even work in some cases, such as on Vivo devices (sample app crashed and showed it needs a permission that can't be granted: “com.vivo.permission.manage.permission.ACCESS”) .
So my request is to have a new function that will return a Set of enum values that tell us which special permissions exist on the device. This way, we could instruct users to reach the app-info screen (or settings screen of the OS) of the app, and find these special permissions to be granted.
Examples of special permissions on Xiaomi (tested on Redmi 8 on Android 10, MIUI 12.5.2) :