Set App-Permissions with SOTI
- 31 August 2018
- SOTI MobiControl - Android
3 Answers- 0 Upvote
- 1 Follower
3 Answers
Hey Guys,
works awesome! Many Thanks, you made my day :-)
Scott nailed it. If you have the option you can compile your app to a lower API target so that the prompts are automatically accepted by the SOTI API distribution process. Otherwise, you can leverage the MX based AppMgr CSP to install the app instead of the default SOTI app distribution mechanism as that is supposedly designed to auto-accept the prompts for you, although I have had limited success with it. The TC20 has a "neutered" set of MX configurations because it is technically designed for cheaper environments to compete with consumer grade devices like the iPod Touch with a scanning sled. In most cases you're better off with a TC5x* and future generations of that product line as they have more MX configurations available and are designed to last longer than the TC2x line.
http://techdocs.zebra.com/mx/appmgr/
Darryn Campbell has some great info on these topics:
Depends on the application, OS version and Zebra device support. Android permission model changed in M. Zebra added the ability to silently approve permissions if app targetSdkVersion >= 23 and MX AppMgr is used to install the application. From my testing, MobiControl does NOT use the MX AppMgr to install APKs so you have to use a combination of files and XML in package manager to achieve it. Copy both the app and xml to the device and then mxconfig the xml. Kind of a pain but it does work. Not sure if the TC20 gets MX support or not. We use the TC56 which does.