Start here
Choosing platforms
Run any command for one platform, a few, or all of them.
One platform
| Platform | Release | Patch | Preview |
|---|---|---|---|
| Android | otadart release android | otadart patch android | otadart preview android |
| iOS | otadart release ios | otadart patch ios | otadart preview ios |
| macOS | otadart release macos | otadart patch macos | otadart preview macos |
| Windows | otadart release windows | otadart patch windows | otadart preview windows |
| Linux | otadart release linux | otadart patch linux | otadart preview linux |
A few platforms
| You want | Command |
|---|---|
| Android and iOS | otadart patch android ios |
| Same, with commas | otadart patch android,ios |
| Same, with -p | otadart patch -p android -p ios |
| iOS and macOS | otadart release ios macos |
Platforms patched together get the same patch number.
All platforms
| You want | Command |
|---|---|
| Every platform in your project | otadart release all |
| All except Linux | otadart patch all --skip linux |
| All except two | otadart patch all --skip windows --skip linux |
“all” looks at the android, ios, macos, windows and linux folders in your Flutter project.
Let OTADart ask
$ otadart patch
Which platform?
1. Android
2. iOS
3. All of them
Choose (e.g. 1 or 1,2) [3]:Run a command without a platform and it asks you. Press Enter for all.
Short names
| Type | Means |
|---|---|
| mac, osx | macos |
| win | windows |
| iphone, ipad | ios |
Made a typo? OTADart suggests the closest platform.