AppForShare

Retire old test builds from inside the app

On AppForShare Pro and Team, a channel can have a minimum supported build for iOS and Android; the update check then answers mustUpdate for older builds, so a test app can show a blocking update required screen without an SDK.

Pro and Team

After a backend change, old test builds break in ways that waste everyone's time. You need testers off them, not just reminded.

Set a minimum build on the channel. Your test build asks the update check with its own build number, and when it is too old the answer says mustUpdate, so the app can stop and show an update screen with the install link.

Example

Beta channel, Android

  • Minimum build120
  • App on the phoneBuild 116, mustUpdate: true
Example values.

Made for

  • Teams that change their API often during a beta
  • Apps with field testers who never open the email

What it ends

  • Bug reports from builds that can no longer work
  • Messages asking every tester to update by hand

How it works

  1. Step 1

    Set the minimum

    On the project's Testing page, Channels, Rules: a whole build number for iOS and for Android, or "this build".

  2. Step 2

    Ask from the app

    Call the channel's update check with &build= and your build number. The answer carries minBuild and mustUpdate.

  3. Step 3

    Show the screen

    Use the update required samples for Swift, Kotlin, Flutter or React Native from the docs.

Safe with rollbacks

A minimum above the build the channel opens now is refused. Putting an older build back into the channel asks you to lower the minimum first, in the dashboard, the CLI (promote --lower-min-build) and the MCP tool promote_build, so testers are never locked out.

minBuild is the higher of your minimum and the retired build rule. Text build numbers such as 1.2.3 are never compared.

Good to know

Questions

Do I need an SDK?
No. One HTTPS request and a number comparison, with samples in the docs.
Can I set it from CI?
Yes: appforshare channel min-build <n|current|off> --channel beta --app <bundle id>.
Which plan do I need?
Pro or Team, the plans with channels and the update check.

Read next

Try it on your own app

Free account in a minute. Pro starts with a 7 day free trial.

More features