Skip to main content

Minimum versions

A minimum version asks everyone below a version to update, for one platform and environment. It's the quickest way to retire old versions: instead of adding a rule for every outdated version, set the lowest version you still support.

For example, a minimum version of 2.0.0 for iOS in production:

User's versionResult
1.9.4Asked to update
1.10.0Asked to update (versions are compared number by number, so 1.10.0 is lower than 2.0.0)
2.0.0No prompt: users on the minimum version are allowed
2.1.0No prompt

Create a minimum version​

  1. Open your app, go to the Versions tab and click Minimum Versions.
  2. Click Add Requirement and choose the platform and environment.
  3. Enter the minimum version, e.g. 2.0.0.
  4. Turn on Force Update if users must update before they can keep using the app. Without it, the update prompt can be dismissed.
  5. Optionally add a message shown in the update prompt, then click Create Minimum Version.

To pause a minimum version without deleting it, edit it and set its Status to Inactive.

tip

Before you create a minimum version, open the app's Dashboard and use What if you set a minimum version? under Version adoption. It shows how many users the new minimum would ask to update, based on the last 7, 30 or 90 days.

Version format​

Versions are 1 to 4 numbers separated by dots, like 2, 1.4, 1.2.3 or 2.0.0.1. Plain build numbers like 12345 work too. Letters, prefixes like v1.2.3, suffixes like -beta and spaces aren't accepted, because they can't be compared reliably.

How the update prompt is decided​

When your app checks for updates, Appcockpit looks at the user's platform, environment and app version:

  1. Version rule: if there's an active version rule for exactly this version, it decides the prompt (optional or forced).
  2. Minimum version: otherwise, if the user's version is lower than an active minimum version, they're asked to update (optional or forced).
  3. Otherwise, no update prompt is shown.

Maintenance mode is separate: if it's on for the user's environment, the maintenance screen is shown regardless of the version.

To check a specific case, use Test a version at the bottom of the Versions tab. Enter a platform, version and environment to see exactly what that user gets right now and which rule causes it. Nothing is changed.