Afw_Set_Permission for camera app on Samsung devices

SB
Simon Breuer
REWE Systems GmbH

Hello everyone,

I am trying to grant WRITE_SETTINGS permission to camera app on a Samsung device enrolled as Work Managed device (AE).

I am using the command

afw_set_permission_grant_state com.sec.android.app.camera android.permission.WRITE_SETTINGS allow

but the permission does not change.

What am I doing wrong? :)

5 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
5 years ago

Does your Samsung devices include any KNOX libraries?

What are the version and build numbers of your MobiControl device agent and server?

Previous tests on your mentioned script command seemed to suggest some stability problem and I am still trying to figure out the problem patterns.  I haven't reach any conclusion yet.

However,  you should make sure  that the "Change System Settings" permission of the device agent itself is enabled.

SB
Simon Breuer
5 years ago

Hi Raymond,

thank you for your fast reply.

The MobiControl agent itself has the WRITE_SETTINGS permission enabled.

Active MDM API:
Samsung MDM 5.7, Samsung KNOX 3.3, Work Managed Device, RC1 (1.16.11.122)

Agent Version
14.2.2 Build 1079

Server:
15.2 (Beta Version Cloud)

RC
Raymond Chan Diamond Contributor
5 years ago

Unfortunately, I haven't done any script test on MobiControl v15.2 server yet.

As said earlier, the app permission related script commands have previously been tested to be inonsistent.  I hope Soti can fix them sooner.  The syntax is quite straight forward.  If you try different permissions and all of them fail, then I believe you'd better open an official support ticket with Soti Support team instead of leaving any post here.

J
JVMOD@SOTI
5 years ago

Hello Simon,

Thank you for your post, please verify if you have sent enable_system_app com.sec.android.app.camera script to enable camera.

Regards,