Follow

Updating Apps on Supervised Devices

This article will show you how to update apps on Supervised devices without any user interaction.

 

Updating apps without any user interaction is arguably one of the best features Supervised devices are capable of. We will need to follow Apple's rules for updating apps so let's briefly explain what we are going to do, then show you how to do it.

Requirements to update without user interaction:

  • The device has to be able to receive commands from APNs ports
  • The device has to be able to communicate with the MDM providers site
  • The app that is being updated cannot be the open app that is visible on the display
  • The device has to be Supervised
  • The device cannot have an app lock profile on the device
  • The device cannot be in autonomous single app mode

The process to follow is:

1. Remove your main App Lock profile
2. Push a new app lock profile to the device for any other app (you can create one for the photos library by using this bundle ID: com.apple.mobileslideshow in your app lock profile)
3. Remove the new App Lock profile
4. Send the app update to the device
5. Resend your main App Lock profile

Brief explanation about these 5 steps

When the device has your main App Lock profile the app you want to update is visible. Once you remove this App Lock profile you can apply an App Lock profile for a different app so that the app you want to update is not visible anymore. No app install actions can be processed when a device is in App Lock so you remove the App Lock profile you just applied. Then you send the app install command and the app will update. Resending your main app lock profile launches your desired app and you are fully updated. All of this hinges on the first two requirements of being connected. If a device is turned off, or can't communicate with APNs or with Moki, you aren't going to be able to update it. Connectivity and power are the lifeblood of your entire project's ability to be controlled remotely.

 

Updating several devices might be better done through scheduling these actions to happen to all devices, or just a subset of devices, at a scheduled time. To learn more see this article on Using MDM Actions.

Section 1: Device Settings that must be configured

  1. Have an Apple ID saved to the device

    Screen_Shot_2014-02-06_at_10.15.11_AM.png
  2.  
  3. Turn on Updates in the Automatic Downloads section of your iTunes & App Settings

    Screen_Shot_2014-02-06_at_10.15.36_AM.png

Section 2: Steps to Update from MokiManage When Using an App Available in the App Store

  1. Remove App Lock profile for app A from the Inventory

    Screen_Shot_2014-02-06_at_10.19.17_AM.png
  2.  
  3. Apply App Lock profile for app B (doesn't matter which app as long as it is on the device)

    Screen_Shot_2014-02-06_at_10.18.17_AM.png
  4.  
  5. Remove App Lock profile for app B

    Screen_Shot_2014-02-06_at_10.20.28_AM.png
  6.  
  7. Apply App Lock profile for app A

    Screen_Shot_2014-02-06_at_10.18.07_AM.png

Note: You'll want to check the Action History between each action to make sure it completed before performing the next action. As soon as you see the action has completed you'll be able to perform the next action, it is that quick.

Screen_Shot_2014-02-06_at_10.22.39_AM.png

 

Section 3: Steps to Update from MokiManage When Using an Enterprise App

  1. Remove App Lock profile for app A from the Inventory

    Screen_Shot_2014-02-06_at_10.19.17_AM.png
  2.  
  3. Apply App Lock profile for app B (doesn't matter which app as long as it is on the device)

    Screen_Shot_2014-02-06_at_10.18.17_AM.png
  4.  
  5. Remove App Lock profile for app B

    Screen_Shot_2014-02-06_at_10.20.28_AM.png
  6.  
  7. Send the update to app A to the device

    Screen_Shot_2014-03-11_at_4.03.09_PM.png
  8.  
  9. Apply App Lock profile for app A

    Screen_Shot_2014-02-06_at_10.18.07_AM.png

Note: You'll want to check the Action History between each action to make sure it completed before performing the next action. As soon as you see the action has completed you'll be able to perform the next action, it is that quick.

Screen_Shot_2014-02-06_at_10.22.39_AM.png

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.