Is there a watchsettings alternative on AE?

Is there a watchsettings alternative on AE?

Hi, 

 

I'm trying to automate having to grant MobiControl access to apps with usage access. 

 

Thanks

Josh. 

7 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 19 August 2019

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.

  • 0
  • 0
Josh Bradley | posted this 19 August 2019

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. 

  • 0
  • 0
Raymond, Chan | posted this 19 August 2019

The script command afw_set_permission_grant_state  does not support managing of permissions of the device agent itself.

 

  • 0
  • 0
Josh Bradley | posted this 19 August 2019

Hi, 

 

Can you recommend an alternative? 

Any suggestions are welcome.

 

Thanks, 

Josh. 

  • 0
  • 0
Thomas Morgan | posted this 20 August 2019

Hi Josh, have you tried installing the devices plugin? i have found this auto accepts the stats permission required for lockdown on AE. 

  • 0
  • 0
Matt Dermody | posted this 20 August 2019

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. 

  • 0
  • 0
Josh Bradley | posted this 20 August 2019

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! 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback