Today I Learned: After Upgrading to Flutter 3.27.x
We’ve identified a few important changes and would love to share them:
1. Deep Linking
• Flutter now handles deeplinks automatically, so if your app manually manages them, you’ll need to check your deep link functionality for potential issues.
• We encountered a problem and had to disable Flutter’s built-in deep linking to prevent conflicts.
🔗 Breaking Change: Deep Links
2. Android 15 Edge-to-Edge UI
• If your application doesn’t use any Native UI, we haven’t found any issues so far — SafeArea in Flutter handles it well.
• However, if you have Native Views (e.g., a Camera View using native Android), you’ll need to adjust your code to properly handle SafeArea on Android.
• If you’re still using compileSDK 34, there’s no immediate issue, but we’re following Flutter’s recommendation.
🔗 Breaking Change: Edge-to-Edge System UI
3. Gradle Warning
• Flutter now warns about old-style Gradle configuration, requiring migration to the new Plugin DSL format.
• We’ve upgraded from Gradle 7.x to 8.3, which required significant changes in our build.gradle.
• It’s important to update now because Flutter plans to deprecate the old style in the next release (expected around March or June, but not confirmed).
🔗 Breaking Change: Flutter Gradle Plugin Apply
4. Impeller on Android (Opt-In by Default)
• Not recommended to enable yet — Impeller on Android is still unstable.
• We encountered issues, including black screens on some devices.
• For now, we recommend disabling Impeller until a more stable version is available.
🔗 How to Disable Impeller
5. Issues on Oppo Devices (PowerVR GPU)
• Some Oppo devices with PowerVR GPUs still experience issues with the latest Flutter version, even with Impeller turned off.
• We are still investigating and will likely need a newer Flutter version to resolve these issues.
🔗 Flutter Issue #162303
6. Flutter 3.24 is Needed for iOS 18.2 WebView Fix
• If you’re using WebView on iOS, Flutter 3.24 is required to fix a WebView bug on iOS 18.2.
🔗 Flutter Issue #160208
Final Thoughts
So… it’s your call on what to do next. Whether you upgrade now or hold off depends on your specific needs and dependencies. Choose wisely! 😅
But for us… there’s no turning back now.
“Feel free to follow our group for the latest trends in Flutter on this page:”