Build & release
Patch
Send a Dart fix to users without a store review.
Commands
| Android | iOS | All platforms |
|---|---|---|
| otadart patch android | otadart patch ios | otadart patch all |
| macOS | Windows | Linux |
|---|---|---|
| otadart patch macos | otadart patch windows | otadart 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
| Option | Example |
|---|---|
| Test group first | otadart patch ios --track beta |
| Part of users | otadart patch android --rollout 25 |
| Older release | otadart patch all --release-version 1.0.0+1 |
| Check without uploading | otadart 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 patch | Needs a store release |
|---|---|
| Dart code, widgets, text, logic | Native Kotlin / Swift code |
| Bug fixes in your app | New or upgraded plugins |
| Assets, permissions, Flutter version |