Application permission

Solved

Hello,

On my ZEBRA ET51 (Android 11), I need to authorize 'Display over other apps' and 'access to manage all files'.

I've tried the following legacy script but it doesn't work.

afw_set_permission_grant_state com.solutys.keyboard android.permission.WRITE_EXTERNAL_STORAGE allow
afw_set_permission_grant_state com.solutys.keyboard android.permission.MANAGE_EXTERNAL_STORAGE allow

Would you have a solution for activating these 2 permissions via a script?

a year ago
SOTI MobiControl
ANSWERS
R
Robert
a year ago

Hi,
This is special permissions that cannot be granted by afw_set_permission script.

But for Zebra devices you can grant them by MX and then export the xml and use MobiControl mxconfig script or JS to apply the xml.

This describes how to use AccessMgr to grant these permissions:
https://techdocs.zebra.com/mx/accessmgr/#permission-access-action

Solution
MD
Matt Dermody Diamond Contributor
a year ago

Confirming the same! It is a little involved and technical but it can be done through Zebra MX for sure. "System Alert Window" is the permission name for the Overlay permission.

Hello,

I am able to authorize the application overlay permission via StageNow MX, but I am unable to authorize the MANAGE_EXTERNAL_STORAGE permission.

That's why I opened this ticket to find out if it's possible to do it via a MOBICONTROL Script.

Thanks for your answers.

S
SGMOD@SOTI
a year ago

Hi Jean,
 
Thanks for posting on SOTI Pulse, Thanks Robert and Matt for responding to the post, your expertise and willingness to help are greatly appreciated!
 
Have you had an opportunity to test the suggested solutions by Robert and has it successfully addressed your query?
 
If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.