Build & release

Builds

Store the APK, app bundle and IPA of each release, verify them, and preview them on devices.

Stored for you

otadart release uploads the store build it just made — the app bundle (.aab) for Android, the .ipa for iOS. Skip it with --skip-build-upload.

Upload a build yourself

AndroidiOS
otadart builds upload app-release.apkotadart builds upload Runner.ipa
otadart builds upload app-release.aabotadart builds upload build/ios/iphonesimulator/Runner.app

Add --release-version 1.0.0+1 for an older release. In the console: app → Releases → a release → Artifacts → Upload build. One build of each type per release; uploading again replaces it.

Checked on upload

CheckWhat it means
Same appThe otadart.yaml inside the build has this app’s ID. A build of another app is refused.
Same releaseA build made for another release or version is refused.
OTADart engineThe build contains the OTADart engine and can receive patches. Standard Flutter builds are stored but marked “updates off”.

Patches are locked to the app too: each one is signed with that app’s key and made for one exact release, and phones check both before installing.

Commands

CommandWhat it does
otadart builds listBuilds of the release in pubspec.yaml, with their checks
otadart builds download --kind apkSave a stored build here
otadart builds delete --kind aabRemove a stored build
otadart preview android --release-version 1.0.0+1Install a stored build and show logs

Limits

  1. Up to 500 MB per build, 3 GB per workspace.
  2. Types: .apk, .aab, .ipa and simulator .app (zipped automatically).
  3. Builds are private to your workspace.

Related: otadart.yaml · Release · Signing · Patch · Store compliance · Tracks & rollouts · Rollback · Flavors