The Wire · Showcase
FLUTTER FIXES PLATFORM VIEW CRASHES ON IOS, SWIFT TACKLES REGION ISOLATION DIAGNOSTICS
By RepoJournal · Filed · About Mobile platforms
Flutter shipped critical fixes for backgrounding platform views and test flakiness on iOS, while Swift's compiler now surfaces isolation history for data race detection.
Flutter addressed a critical crash that occurred when apps with platform views on screen were backgrounded [1]. The fix removes an abort assertion that fired during the `bringLayersIntoView` operation, resolving a race condition introduced in earlier engine changes. Alongside that, Flutter eliminated duplicate scenario registration across three separate iOS files by consolidating the declarations into a single source of truth [2], reducing the surface area for future test bugs. A third fix corrected locale testing that was failing on machines with multiple preferred languages configured [3]. Over in the Swift compiler, the focus shifted to region isolation diagnostics: the compiler now generalizes isolation-history note emission to explain how values ended up in isolated regions, providing developers with the diagnostic breadcrumbs they need to fix data race issues [4]. The team also wired up the `InOutSendingNotDisconnectedAtExit` case to emit those same notes [5]. Swift also adjusted to upstream LLVM changes around lazy submodule deserialization [6]. Across both repos, 11 commits and 8 PRs landed this period, split between iOS stabilization and compiler diagnostics.
One email a day. Unsubscribe in one click.
Keep up with Mobile platforms in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review platform view backgrounding fix if shipping iOS apps with native views flutter/flutter [plan]
- → Monitor Swift compiler integration if syncing region-isolation branch apple/swift [monitor]
References
- [1] iOS: Fix flake when backgrounding platform views (#190816) flutter/flutter
- [2] Scenarios: Deduplicate scenario name declarations ↗ flutter/flutter
- [3] Scenarios: Fix locale test on hosts with several languages (#190821) flutter/flutter
- [4] [region-isolation] Generalize isolation-history notes and wire up InOutSendingNotDisconnectedAtExit ↗ apple/swift
- [5] [region-isolation] Emit isolation-history notes for InOutSendingNotDisconnectedAtExit apple/swift
- [6] Adjust to "[clang][modules] Deserialize submodules lazily (#194968)" ↗ apple/swift