Flutter Upgrade: Bringing an Old App to 3.50

Andrey Gordeev

A Flutter upgrade on a production app is one command when you’re a release behind and a planned project once you’re several behind. The reason is that flutter upgrade only replaces the SDK and leaves your Android build files, your iOS app delegate and your plugins exactly where they were. Flutter 3.50 is the current stable release (3.50.1 shipped on November 20, 2026), and it refuses to build Android projects on tooling older than Android Gradle Plugin 9.1.1.

flutter upgrade finishing in a terminal on Flutter 3.50.1, stable channel

Typing the command takes a minute, and an inherited app spends its upgrade budget on the work that comes after it: plugins that stopped being maintained, Android build tooling that Flutter now rejects, and iOS lifecycle changes that Apple’s next SDK will enforce.

How far behind is your Flutter app?

Count it in stable releases, since Flutter ships a new stable roughly every three months and each one carries its own list of breaking changes. Run flutter --version inside the project, or read the version pinned in your version manager’s config file, then compare it with the release history below.

Flutter releaseStable dateDart versionWhy it matters for an upgrade
3.10.0May 10, 20233.0.0Sound null safety becomes mandatory
3.38.0November 12, 20253.10.0UIScene lifecycle support lands for iOS
3.41.0February 11, 20263.11.0UIScene becomes the default for iOS apps
3.44.0May 18, 20263.12.0Swift Package Manager on by default, built-in Kotlin path starts
3.47.0August 12, 20263.13.0Built-in Kotlin can be switched on
3.50.0November 11, 20263.14.0Android build tool minimums raised to AGP 9

The dates come from Flutter’s own release archive and the breaking-change notes in its documentation. If your app sits at 3.44 or newer, an upgrade is routine maintenance with one Android tooling step. An app somewhere between 3.10 and 3.35 is a planned piece of work that crosses the iOS and Android changes described below. Anything older than 3.10 needs a null safety migration that touches code across the whole project before it can move at all.

Write the gap down next to the date of the last upgrade, so a store deadline doesn’t end up setting the timing for you.

What does flutter upgrade change, and what does it leave alone?

It changes the Flutter SDK installed on your machine and nothing inside your project. The command fetches the newest SDK on your current channel, which for a production app should be stable, since Flutter describes the main channel as more likely to contain serious regressions.

Three other commands do the project-side work. flutter pub upgrade moves your packages to the newest versions your pubspec.yaml constraints allow, while flutter pub upgrade --major-versions also rewrites those constraints to accept new major versions. dart fix --apply applies automated migrations for many of the breaking API changes Flutter lists for each release, though the documentation says it doesn’t cover all of them.

None of these commands touch the native project in android and ios. Your android folder keeps its Android Gradle Plugin, Gradle and Kotlin versions, and your ios folder keeps its app delegate and its Info.plist, until someone edits them. That’s why a team can run the upgrade, see a clean flutter doctor, and still have a build that fails on its first Android compile.

For a team, pin the version per project rather than upgrading a global SDK. You can check out a specific release inside the SDK directory with git checkout <version>, as the Flutter docs describe, or use a version manager such as FVM, which keeps a per-project config file so every developer and the CI machine build with the same release.

Which packages will block your Flutter upgrade?

Plugins with native code block it first, well before your own Dart code does. Run flutter pub outdated before you change anything. It shows four columns for every dependency: Current is what your lockfile has, Upgradable is what your constraints allow, Resolvable is the newest version that fits with everything else, and Latest is the newest version published.

flutter pub outdated report with two packages held back in the Resolvable column

The interesting rows are the ones where Resolvable stops short of Latest, or where Latest itself is two years old. The first tells you a constraint somewhere is holding the package back, often another plugin that hasn’t moved. The second tells you the package has stopped being maintained, and no Flutter upgrade will fix it for you.

For each plugin that ships Android or iOS code, check on its pub.dev page and repository whether it has published a release in the last year, supports Swift Package Manager, and has migrated off the old Kotlin Gradle plugin setup that Android Gradle Plugin 9 rejects. A plugin that fails all three leaves you three options: replace it with a maintained alternative, fork and patch it yourself, or remove the feature it powers.

Count those plugins before anyone gives an estimate. Five maintained plugins will follow the framework forward on their own, while fifteen half-abandoned ones turn the upgrade into a dependency replacement project, and that number predicts the size of the job far better than the version gap does. We’ve written about the same pattern from the React Native side in our piece on planning a React Native upgrade, where plugin count also predicts the size of the job.

What breaks on Android when you move to Flutter 3.50?

The Android build tooling breaks first, because Flutter 3.50 refuses to build projects below its new minimums. Those are Android Gradle Plugin 9.1.1, Gradle 9.3.1 and, if your project still applies the Kotlin Gradle plugin, Kotlin 2.4.10, all with Java 17. Below those versions the build stops with an error naming the version Flutter expected, and AGP 10 isn’t supported by 3.50 at all.

Android Gradle Plugin raised to 9.3.1 in settings.gradle for a Flutter 3.50 build

Flutter’s recommended versions sit a little higher: AGP 9.3.1 with Gradle 9.5.0, which clears the warnings the build prints between the minimum and the recommended level. The AGP version lives in the plugins block of android/settings.gradle.kts (or settings.gradle in older projects), and the Gradle version lives in the distributionUrl line of android/gradle/wrapper/gradle-wrapper.properties. A project created on Flutter 3.7 may still apply the Flutter Gradle plugin the old imperative way, which Flutter deprecated in 3.19, so check that before chasing version numbers.

Kotlin is the second Android job. Android Gradle Plugin 9 builds Kotlin itself by default, and projects that still apply the separate Kotlin Android plugin fail on AGP 9 unless they migrate. Flutter 3.44 added a temporary escape hatch through android.builtInKotlin=false, and 3.47 added support for switching built-in Kotlin on, but only once the app and every plugin it uses have migrated.

The upgrade also moves your target API level if your app build file still reads flutter.targetSdkVersion, because those flutter.* values come from the Flutter Gradle plugin rather than your project, and for most apps that’s exactly what you want. Since August 31, 2026, Google Play requires new apps and updates to target Android 16, API level 36, with an extension available to November 1, 2026. Our article on the Google Play target API level deadline covers what changes in behaviour once you raise it. Apps with native libraries also need 16 KB page size support, which every Flutter app has through its engine.

What breaks on iOS during a Flutter upgrade?

The app lifecycle and the dependency manager are the two iOS changes that catch older projects. Apple announced at WWDC25 that apps built with the SDK after iOS 26 must use the UIScene lifecycle or they won’t launch, and Flutter’s documentation states that from Xcode 27, Flutter apps that haven’t adopted UIScene fail on startup.

Info.plist Application Scene Manifest with UISceneDelegateClassName set to FlutterSceneDelegate

Flutter 3.41 made UIScene the default, and if your AppDelegate is unmodified, running flutter build ios migrates it automatically and prints a confirmation. Inherited apps rarely have an unmodified app delegate, though. Push notification setup, deep link handling, analytics SDK initialisation and method channels registered at launch all tend to live there, and each one has to move to the new registration callback or a scene delegate. Plugins that read the app window through older APIs also need versions built for Flutter 3.38 or later.

The second iOS change is CocoaPods. Flutter turned on Swift Package Manager by default in 3.44, falls back to CocoaPods for any plugin that doesn’t support it yet, and its documentation says the CocoaPods registry becomes permanently read-only on December 2, 2026. Our article on the CocoaPods deprecation explains what that means for an app with a Podfile today.

Apple’s build requirements set the floor under all of this. Since April 28, 2026, App Store Connect accepts only apps built with Xcode 26 or later against the iOS 26 SDK, and since September 9, 2026, iOS apps must target iOS 13 or later. An old Flutter release that can’t build cleanly on current Xcode can’t ship an update at all, which is usually the moment an iOS upgrade stops being optional. If your minimum version is also overdue, our piece on raising the iOS deployment target covers that decision.

Should you jump straight to 3.50 or step through releases?

Step through the stable releases once you’re more than two behind, because it’s the only way to know which release caused which failure. A direct jump merges every breaking change from every release in between into one build log, and you end up fixing a Material widget change, a Gradle error and a plugin conflict at the same time with no way to tell them apart.

Each step follows the same short loop, and it’s worth committing after every one so a bad step has somewhere safe to return to:

  1. Check out the next stable release and run flutter pub upgrade.
  2. Run dart fix --apply, then fix what remains by hand.
  3. Raise the Android and iOS tooling that release requires.
  4. Get a clean build on both platforms and run the app.

Crossing into Dart 3 needs a code migration, unlike every other step, because Dart has enforced sound null safety since Dart 3, which arrived with Flutter 3.10 in May 2023. An app on Flutter 2 or early Flutter 3 has to finish its null safety migration on the last 3.7 release before moving any further. That migration touches nearly every Dart file, and it should be its own branch and its own review.

The exception to stepping is an app so far behind that most of its plugins need replacing anyway. Walking through eight releases then means fixing the same doomed packages again and again on the way to removing them. In that situation, settle the target set of plugins first and move in one deliberate jump with a full regression pass at the end. Making that call is most of the first week of a RapidLabs app takeover on an inherited Flutter codebase.

What does a safe Flutter upgrade look like from start to finish?

It starts with an audit and ends with a staged rollout, and the version bump in between takes the least time. Measure the gap in releases, run flutter pub outdated, and list every plugin with native code and its last release date. Then decide whether you’re crossing the Dart 3 boundary, the UIScene change, the Swift Package Manager switch or the AGP 9 floor, because each of those is a separate piece of work with its own risk.

Do the upgrade on a branch that nobody ships features from, and expect the app to be unreleasable while it’s in progress. Feature work running in parallel will conflict in exactly the files the upgrade rewrites, especially the Gradle files and the iOS app delegate.

Focus testing where the upgrade changed behaviour. Screens that only render Flutter widgets are the least likely to move, while push notifications, deep links, in-app purchases, the camera, background work and anything that starts in the app delegate deserve a manual pass on real devices. Our mobile app testing checklist covers how to shape that pass when time is short.

Ship through a staged rollout on Google Play and a phased release on the App Store, and watch crash reports more closely than usual for the first few days. If the crash rate was already unhealthy before you started, stabilise the app first, since you won’t be able to tell new failures from old ones afterwards. That ordering of stabilisation before upgrade is the core of the mobile app stabilization work RapidLabs does on inherited apps.

After that, upgrade on a schedule. One stable release every quarter is a day or two of work each time, while letting six releases pile up turns the same work into a project that competes with your whole roadmap.

Frequently asked questions

Does flutter upgrade update my project's Android build files?

No, the command replaces the Flutter SDK on your machine and leaves your project's android folder exactly as it was. The Flutter documentation for 3.50 says that neither flutter upgrade nor flutter build updates the Android Gradle Plugin, Gradle or Kotlin versions in the android directory, so a project created on an older release has to raise them by hand. If you skip that step, the first build on the new SDK fails with a validation error that names the version it expected.

How do I upgrade Flutter to a specific version instead of the latest?

The official route is to open the Flutter SDK directory, which flutter doctor --verbose prints, and run git checkout with the version you want, such as 3.47.0. A version manager like FVM does the same job per project, so each app keeps its own pinned release and every developer on the team builds with the same one. For a production app the pinned approach is the safer habit, because a global upgrade on one laptop otherwise changes what every project on that machine builds with.

Can I jump from Flutter 2 straight to Flutter 3.50?

You can try, but an app that old has to cross the Dart 3 boundary first, and crossing it means migrating the code to null safety. Dart has enforced sound null safety since Dart 3, which shipped with Flutter 3.10 in May 2023, so code that predates null safety won't compile on any Flutter release from 3.10 onward. The usual sequence is to migrate on the last Flutter 3.7 release, then move forward from there in steps once the code compiles under Dart 3.

How long does a Flutter upgrade take on an old app?

Nobody can give an honest number without seeing the dependency list, because the framework bump is rarely the slow part. One release behind on a well-kept app is often a day plus a regression pass. Several releases behind, with plugins that haven't been published in two years and native code that touches the iOS app delegate, is a project measured in weeks, mostly spent replacing or patching plugins and raising the Android and iOS build tooling.

Is the CocoaPods shutdown a reason to upgrade Flutter now?

Yes, if your app still installs iOS plugins through CocoaPods. Flutter's documentation says the CocoaPods registry becomes permanently read-only on December 2, 2026, and that Flutter has turned on Swift Package Manager by default since 3.44 while falling back to CocoaPods for plugins that don't support it yet. Existing pods keep installing, but no plugin can publish a new pod version after that date, so fixes will only reach you through releases that support Swift Package Manager.

Should we rewrite the app instead of doing a big Flutter upgrade?

Usually not, because an upgrade keeps all the behaviour your users already rely on while a rewrite starts the bug count from zero. A rewrite starts to make sense when the plugins you'd have to replace cover most of the app's core features, when nobody can explain how large parts of the code work, or when the product is changing direction anyway. Price both against the same scope before deciding, rather than pricing the upgrade carefully and guessing at the rewrite.

Stuck on a release, a crash, or an app nobody owns?

RapidLabs maintains, stabilizes and takes over existing iOS and Android apps. Send the app link, the stack, and what is going wrong, and you will get a plain answer on whether you need help at all.

Talk to a senior engineer about your app