โฌ๏ธUpdating Apps
Learn how to issue app updates
Update apps in your source automatically by using AltServer's built-in AltSource tool.
Overview
To update your app, you'll need to add a new App Versions entry to your Source JSON with a unique version
and/or buildVersion
. After uploading your changes, AltStore will automatically detect that an app update is available and notify users.
Specifically, AltStore detects updates by comparing the first version listed in your App Versions array (i.e index = 0) with the user's installed version. If the first version listed is not compatible with the user's device, AltStore iterates through the array until it finds one that is. If this version is different than what the user has installed, AltStore will notify them that an update is available.
AltStore does not use dates to determine if there's a newer version.
Version Compatibility
AltStore will only show that an app update is available if it's compatible with the user's OS version. By default AltStore considers all versions to be compatible, but if your update only supports certain iOS versions, you can specify this via the minOSVersion
and maxOSVersion
keys.
Users can see a list of unsupported updates from the My Apps tab. Additionally, if a user tries to download a new app that is not compatible with their device, they will be asked to download a previous version instead.
Update Instructions
Upload the IPA file to your server and copy the URL.
Add a new entry to the beginning of your app's
versions
array in your Source JSON file.Update
downloadURL
to the copied URLUpdate
version
to match the app'sCFBundleShortVersionString
(e.g "1.2.1")Update
buildVersion
to match the app'sCFBundleVersion
(e.g "10")
Each entry must have a different version
or buildVersion
from the previous version.
3. Upload your Source JSON to your server - that's it!
Once uploaded, the update is immediately made live.
For this reason, we recommend updating a staging version of your source first to verify that the changes work as expected.
Last updated