Build & release

Patch

Send a Dart fix to users without a store review.

Commands

AndroidiOSAll platforms
otadart patch androidotadart patch iosotadart patch all
macOSWindowsLinux
otadart patch macosotadart patch windowsotadart patch linux

Pick a few: otadart patch android ios · Leave some out: otadart patch all --skip linux.

OTADart builds the fix, compares it with your release, and uploads only what changed — often just a few kilobytes. Phones apply it the next time the app opens.

Same number on every platform

All platforms of one version share patch numbers. Run otadart patch all (or android and ios together) and both get patch #1, then #2, and so on. If you patch only one, the CLI reminds you which platform still needs it.

Useful options

OptionExample
Test group firstotadart patch ios --track beta
Part of usersotadart patch android --rollout 25
Older releaseotadart patch all --release-version 1.0.0+1
Check without uploadingotadart patch ios --dry-run

Safe by default

If native code or plugins changed since the release, patch stops and tells you to make a new release instead. Every patch is signed, and a patch that crashes on startup is rolled back on the phone automatically.

What a patch can change

Can patchNeeds a store release
Dart code, widgets, text, logicNative Kotlin / Swift code
Bug fixes in your appNew or upgraded plugins
Assets, permissions, Flutter version

Related: otadart.yaml · Release · Tracks & rollouts · Rollback · Flavors & versions