Build & release
otadart.yaml
Public project settings, generated for your application.
Configuration reference
| Key | Purpose |
|---|---|
| schema | Configuration format; currently 1 |
| app_id | Generated application identity |
| api_url | HTTPS origin of your OTA service |
| engine | Pinned compatible build bundle |
| public_key_file | Path to the public verification key |
| artifact_format | Artifact type supported by that build |
| tracks | Allowed delivery tracks |
| channel | Default track for this release |
| flavors | Explicit flavor-to-app-ID map |
| update | Check schedule, activation and verification policy |
Validate before a build
The preview CLI rejects unknown options, invalid HTTPS origins, duplicate tracks, unsupported bundles and ambiguous flavors. Keep configuration in version control with your app. Keep private keys and publishing credentials in restricted storage.
Configuration bundled in an existing release stays fixed. Changing your local YAML does not remotely alter apps that are already installed.
Update policy
update:
auto_update: true
check_interval_seconds: 21600
activation: next_launch
verification: strictThe preview accepts intervals from 900 seconds to 604800 seconds. Automatic checks begin after client initialization. Strict verification and next-launch activation are the supported policies.