Build & release

otadart.yaml

Public project settings, generated for your application.

Configuration reference

KeyPurpose
schemaConfiguration format; currently 1
app_idGenerated application identity
api_urlHTTPS origin of your OTA service
enginePinned compatible build bundle
public_key_filePath to the public verification key
artifact_formatArtifact type supported by that build
tracksAllowed delivery tracks
channelDefault track for this release
flavorsExplicit flavor-to-app-ID map
updateCheck 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: strict

The 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.

Related: Release · Patch · Tracks & rollouts · Rollback · Flavors & versions