Flutter versions
Which Flutter versions OverPush works with, and what to do when you upgrade.
Supported versions
| Platform | Flutter |
|---|---|
| Android | Any stable version your app builds with. |
| iOS |
|
Check yours with:
$ flutter --version
On a Flutter version iOS doesn't support yet, overpush release ios stops before building and says so.
One version per release
A patch is built with the same Flutter version as the release it patches. The CLI checks this and won't build a patch with a different one, because the result could not run on the release.
So in CI, pin the Flutter version to the one that built the release. See Continuous integration.
Upgrading Flutter
Upgrade and test as usual
Nothing about OverPush changes how you upgrade.
Ship a store release
Run
overpush release androidwith the new version and upload the.aabin Play Console.Check the new version is supported first, then run
overpush release ioswith it and upload it withoverpush releases archive.Patch the new release
New patches go to the new release. Phones still on the old store version keep the patches they have, and you can still patch the old release from a computer that has the old Flutter version.