Is there a watchsettings alternative on AE?
- 19 August 2019
- SOTI MobiControl - Android
7 Answers- 0 Upvote
- 1 Follower
7 Answers
I don’t believe so.
You’re trying to set permissions for apps that you install? If so, I’m not sure watchsettings would have been the right approach. You can set app permissions via scripting under AE without watchsettings or writesecuresetting.
Hi Matt,
I was going to try to create a script from the output from watchsettings to grant permissions to MobiControl.
Seems crazy that enrolling the device as AE with MobiControl being the admin app doesn't grant the application all of the permissions it needs.
I've tried these scripts but they did nothing;
afw_set_permission_grant_state net.soti.mobicontrol.androidwork android.permission.USAGE_ACCESS_SETTINGS allow
request_appops_permission android.permission.PACKAGE_USAGE_STATS
Thanks
Josh.
The script command afw_set_permission_grant_state does not support managing of permissions of the device agent itself.
Hi,
Can you recommend an alternative?
Any suggestions are welcome.
Thanks,
Josh.
Hi Josh, have you tried installing the devices plugin? i have found this auto accepts the stats permission required for lockdown on AE.
Good point! I think Josh is using Zebra devices so there is definitely a plugin available. I'd be surprised if you weren't using it already however as you'd be limited to Remote View instead of Remote Control without the plugin.
Hi Guys,
The device that I'm seeing this on is actually our custom device that we're waiting on a plug in from Soti.
When we get the Plug In I'll retest and update!
Thanks for your help!