How to update an app in the field

After creating your Private Repository and the initial installation of your application the question of updating your app quickly arises. With your Device Hub it is a matter of seconds for one device or a whole group of devices to be updated.

This guide shows you step-by-step how to achieve an app update in the field or your lab.

Note: In order for this command to be successfully executed, MDM has to be enabled on the device, the device has to be online, and the device group needs premium services attached to it.

  1. Access the private repository you have created
  2. Upload the new version of your application in the repo folder.
    The reference in the root folder will automatically update after your upload. The link consists of the package name and points to the package with the highest version code.
    Note: We recommend adding the version code in the filename of the uploaded apk to avoid potential caching issues.
  3. Navigate to the MDM overview.
    Log into your Device Hub > Devices.
  4. Select the device or the device group where you want to update your app.
  5. Navigate to the Commands tab.
  6. Click Add.
  7. In the opened window navigate to the Commands tab and select the command type Install package from the drop-down list.
  8. Enter the download URL of your new app version.
  9. Enter the Application package and the Version code.
    Note: If you are unsure about these values, you can find the Tools button in the bottom right. There you can choose your app and all app information is extracted from it, amongst others the package and version.
    Read the following tutorial for a quick explanation on how to extract the necessary information.
  10. After filling in the fields click on Create to perform the update of your app.
    Note: The download and installation of your application can take a few minutes on your device, depending on the size of your app and available bandwidth.