The release history is a JSON object where each key is an app version. This structure allows the client to determine which OTA (Over-The-Air) update to download based on the current binary version.
Key fields within a version object include:
enabled: Boolean indicating if the update is active.mandatory: Boolean indicating if the update must be installed before the app can be used.downloadUrl: The URL to the bundle.packageHash: The hash of the package.rollout: Percentage of users to receive the update.binaryPatchDownloadUrl: Present only if the release was published using --binary-bundle-path.diffPackages: An object containing asset diff archives. Each entry maps a packageHash (the version the archive was diffed against) to its download URL.
{
"1.0.0": {
"enabled": true,
"mandatory": false,
"downloadUrl": "",
"packageHash": ""
},
"1.0.1": {
"enabled": true,
"mandatory": false,
"downloadUrl": "https://storage.example.com/bundles/ios/staging/a1b2c3...",
"packageHash": "a1b2c3...",
"rollout": 100,
"minimumBackgroundDuration": 600
}
}