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
| Android | iOS |
|---|---|
| otadart builds upload app-release.apk | otadart builds upload Runner.ipa |
| otadart builds upload app-release.aab | otadart 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
| Check | What it means |
|---|---|
| Same app | The otadart.yaml inside the build has this app’s ID. A build of another app is refused. |
| Same release | A build made for another release or version is refused. |
| OTADart engine | The 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
| Command | What it does |
|---|---|
| otadart builds list | Builds of the release in pubspec.yaml, with their checks |
| otadart builds download --kind apk | Save a stored build here |
| otadart builds delete --kind aab | Remove a stored build |
| otadart preview android --release-version 1.0.0+1 | Install a stored build and show logs |
Limits
- Up to 500 MB per build, 3 GB per workspace.
- Types: .apk, .aab, .ipa and simulator .app (zipped automatically).
- Builds are private to your workspace.