Skip to main content

Polling-Based Updates

Polling-based device updates do not require a device agent. With polling-based updates, devices regularly request information about the latest version and, based on the information they receive and other factors, decide whether an update should be triggered. This can also be used with a user in the loop, i.e., showing the user that an update is available and installing it upon their approval.

One way to implement polling-based updates is to have an extra asset as part of a package that contains build and version information. For instance, an asset version-info.json may contain information about the latest version. You can then pull this file periodically and compare the version with the presently installed version, to determine whether a new version is available. You may also include additional user-facing information in that file, e.g., a list of new features or improvements.