Application management is a key responsibility for device management. A fleet should run the same version of an application to create a uniform experience. In this article, we explain the types of applications and actions a blueprint takes to sync and maintain all your device’s applications.
In this article:
Understanding App Source Types
Depending on the source type, the application might be able to be updated or uninstalled. Likewise, if that application has a certain source type, it may be impossible to uninstall the app or to specify which version it updates to.
Esper categorizes apps into three source types:
- Preload: Apps pre-installed on a device. Sometimes referred to as System or Pre Side-Loaded apps.
- Enterprise: Apps uploaded to the Esper Cloud and then installed on a device.
- Play Store: Apps installed from the Play Store. Only available for GMS devices. You may need to approve these apps before being able to install them.
When you create a blueprint, you specify which kinds of apps should be installed on the device, when they should be installed, and how they appear. However, some applications already come pre-installed on your devices. Other types of applications might not allow manual updates or uninstalls.
We’ve laid out what happens for each source type when you attempt to install, uninstall, update, or downgrade these applications in Application Sync Scenarios.
You can check the applications installed on your devices in Devices & Groups > device > Apps.
Preload Apps
Preload apps include all apps that come installed on a device. These apps might include System apps, such as Clock, and pre-side-loaded apps such as Google Chrome and YouTube. Once a device is provisioned, the Esper Cloud recognizes these apps as:
- Can’t be uninstalled: System Apps cannot be uninstalled.
- Uninstallable: Pre-side-loaded apps can be uninstalled.
Apps installed through OS updates after provisioning will be considered Preload as well.
Source Types at a Glance
There are advantages and disadvantages to both types of apps.
Enterprise Apps | Play Store Apps |
|
|
Enterprise Apps
Enterprise Apps are apps uploaded to the Esper Cloud, such as an application developed for your use case. They appear in the Enterprise tab of the Apps section. As an admin, you can specify which version of these apps appear on your devices through a blueprint. Because of this, they’re often easier than Play Store apps when it comes to controlling application versions. Apps installed locally are also considered Enterprise apps, such as those installed via the Device SDK or the API.
Play Store
Apps installed from the Google Play Store are Play Store apps.
Special Cases
Not all apps can fit neatly into one of the above categories. There are two special categories:
Enterprise-Preloaded: If a device comes preinstalled with an app at a higher version than the Enterprise app, then it is considered an Enterprise-Preload app. If removed from a blueprint, it will be brought down to the Preload version and its source type will be Preload.
Play Store-Preloaded: If a device comes preinstalled with an app at a higher version than the Enterprise app, then it is considered a Play Store-Preload app. If removed from a blueprint, it will be brought down to the Preload version and its source type will be Preload.
In the Application Scenarios section, you’ll see how a blueprint determines the actions and source types of these special applications.
Application Sync Scenarios
Blueprints determine the types of applications and versions on a device. Whenever the device interacts with the Esper Cloud, it syncs with its assigned blueprint. From there, it will execute the actions specified in the blueprint.
How do blueprints sync different app types? The following scenarios explain what happens to applications before and after a blueprint sync.
Preloaded Apps
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
Yes | Preload | Any | Yes | Upgrade | Esper will update the application and app source. | Play Store-Preload (Play Store version of the Preload app) |
Yes | Preload | Any | Yes | Downgrade | Not possible. App cannot be downgraded. | Play Store-Preload (Play Store version of the Preload app) |
Yes | Preload | Any | Yes | Same version | App version remains as it is. App source changes. | Play Store-Preload (Play Store version of the Preload app) |
Yes | Preload | Any | Yes | Upgrade | Esper will update the application and app source. | Enterprise-Preload (Enterprise version Preload) |
Yes | Preload | Any | Yes | Downgrade | Not possible. App cannot be downgraded. | Enterprise-Preload (Enterprise version Preload) |
Yes | Preload | Any | Yes | Same version | App version remains as it is. App source changes. | Enterprise-Preload (Enterprise version Preload) |
Play Store-Preloaded
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
Yes | Play Store-Preload | Any | No | Uninstall | The application goes back to the Preload state, and the app source and version change to the Preload and the system-installed version. | Not applicable |
Yes | Play Store-Preload | Any | Yes | Upgrade | Esper Cloud will update the application. | Play Store-Preload (Play Store version of the Preload app) (no change) |
Yes | Play Store-Preload | Any | Yes | Downgrade | Not possible. App cannot be downgraded. | Play Store-Preload (Play Store version of the Preload app) (no change) |
Yes | Play Store-Preload | Any | Yes | Upgrade | Esper Agent will upgrade the app and the app source will change. | Enterprise-Preload (Enterprise version Preload) |
Yes | Play Store-Preload | Any | Yes | Downgrade | If the desired version is greater than or equal to the Preload version, this will work. If not, this will not be possible. | Enterprise-Preload (Enterprise version Preload) |
Yes | Play Store-Preload | Any | Yes | Same version | App version remains as it is. App source changes. | Enterprise-Preload (Enterprise version Preload) |
Enterprise-Preload
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
Yes | Enterprise-Preload | Any | No | Uninstall | The application goes back to the Preload state, and the app source and version change to the Preload and the system-installed version. | Not applicable |
Yes | Enterprise-Preload | Any | Yes | Upgrade | Esper Agent will update the application. | Enterprise-Preload (Enterprise version Preload) (no change) |
Yes | Enterprise-Preload | Any | Yes | Downgrade | If the desired version is greater than or equal to the Preload version, this will work. If not, this will not be possible. | Enterprise-Preload (Enterprise version Preload) (no change) |
Yes | Enterprise-Preload | Any | Yes | Upgrade | Esper Agent will upgrade the app and the app source will change. | Play Store-Preload (Play Store version of the Preload app) |
Yes | Enterprise-Preload | Any | Yes | Downgrade | If the desired version is greater than or equal to the Preload version, this will work. If not, this will not be possible. | Play Store-Preload (Play Store version of the Preload app) |
Yes | Enterprise-Preload | Any | Yes | Same version | App version remains as it is. App source changes. | Play Store-Preload (Play Store version of the Preload app) |
Enterprise
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
No | Not Applicable | None | Yes | Fresh Install | The application will be installed. | Enterprise |
Yes | Enterprise | Multi-App | No | Uninstall | The application will be uninstalled. | Not Applicable |
Yes | Enterprise | Any | Yes | Upgrade | The application will be upgraded on the device. | Enterprise (no change) |
Yes | Enterprise | Any | Yes | Downgrade | The application will be uninstalled and reinstalled with the provided lower version. A downgrade warning is shown. | Enterprise (no change) |
Yes | Enterprise | Any | Yes | Same version | The app remains unchanged. | Enterprise (no change) |
Yes | Enterprise | Any | Yes | Upgrade | The Esper Cloud upgrades the application and its source changes to Play Store. | Play Store |
Yes | Enterprise | Any | Yes | Downgrade | The application uninstalls and reinstalls as a Play Store source type. A downgrade warning is shown. | Play Store |
Yes | Enterprise | Any | Yes | Same version | The application stays the version it is, and the source changes. | Play Store |
Play Store
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
No | Not Applicable | None | Yes | Fresh Install | The application will be installed. There may be a delay between the sync and when the application is installed by the Play Store. | Play Store |
Yes | Play Store | Multi-App | No | Uninstall | The application is uninstalled. | Not Applicable |
Yes | Play Store | Any | Yes | Upgrade | Play Store applications auto-update. Whenever new versions are available, they will be updated. | Play Store (no change) |
Yes | Play Store | Any | Yes | Downgrade | Not possible. | Play Store (no change) |
Yes | Play Store | Any | Yes | Upgrade | Esper Agent updates the application and the application source type will change. | Enterprise |
Yes | Play Store | Any | Yes | Downgrade | The application will be uninstalled and reinstalled with the provided lower version. A downgrade warning is shown. And the source changes. | Enterprise |
Yes | Play Store | Any | Yes | Same Version | The application stays the version it is, and the source changes. | Enterprise |
Any (Kiosk Mode)
The following scenario affects all apps in Kiosk mode.
Before blueprint sync | After blueprint sync | |||||
Present on Device |
Previous Source Type |
Mode (Multi-App or Kiosk) |
Present in blueprint? |
Attempted Action by blueprint |
Result |
New Source Type |
Yes | Any | Kiosk | No | Not applicable |
The application will be uninstalled if: 2. Another app is pinned as a Kiosk app |
Not applicable |
In this scenario, you’ll be prevented from saving a blueprint until you’ve chosen a new kiosk app or you’ve switched the blueprint to Multi-app mode.
Locally Installed Apps
Apps can be installed locally if enabled through a blueprint. Once converged, these applications are considered Enterprise applications.
If a locally installed app is updated locally, the application is considered an Enterprise app.
Before blueprint sync | After blueprint sync | |||||
Present on Device | Previous Source Type | Mode (Multi-App or Kiosk) | Present in blueprint? | Attempted Action by blueprint | Result | New Source Type |
Yes | Enterprise (Local Install) | Multi-App | No | Uninstall | The application will be uninstalled. | Not applicable |
Yes | Enterprise (Local Install) | Any | Yes | Upgrade | The Esper Agent upgrades the application. | Enterprise (no change) |
Yes | Enterprise (Local Install) | Any | Yes | Downgrade | The current application will be uninstalled and will be reinstalled with a lower version. A warning will show in the Console. | Enterprise (no change) |
Yes | Enterprise (Local Install) | Any | Yes | Upgrade | The app is updated and the source type changes. | Play Store |
Yes | Enterprise (Local Install) | Any | Yes | Downgrade | The app is uninstalled and reinstalled with an older version (if available on the Play Store). A downgrade warning will show. | Play Store |
Yes | Enterprise (Local Install) | Any | Yes | Same Version | The application version stays as is. The source type changes. | Play Store |
Downgrade Scenarios
Android does not natively support downgrades. However, Esper allows you to downgrade certain apps. The scenarios listed below are considered complex use cases that most users won’t run into every day.
Before blueprint sync | After blueprint sync | |||||
Present on Device | Previous Source Type | Mode (Multi-App or Kiosk) | Present in blueprint? | Attempted Action by blueprint | Result | New Source Type |
Yes | Enterprise | Kiosk | Yes | Downgrade | The application will be uninstalled. The lower version will be reinstalled and a warning will show in the Console. | Not applicable |
Yes | Enterprise | Kiosk | Yes | Play Store | The application will be uninstalled. The lower version will be reinstalled and a warning will show in the Console. | Enterprise (no change) |
Yes | Enterprise (Local Install) | Any | Yes | Downgrade | The application will be uninstalled. The lower version will be reinstalled and a warning will show in the Console. | Enterprise (no change) |
Yes | Enterprise (Local Install) | Any | Yes | Downgrade | Not possible. The app cannot be downgraded. | Play Store |