liquid_shell_ios 0.1.0-dev.14
liquid_shell_ios: ^0.1.0-dev.14 copied to clipboard
The iOS implementation of the liquid_shell plugin. Reduce Transparency, the native iOS 26 tab bar and sidebar, and the iPadOS window controls.
0.1.0-dev.14 #
- Changed: the native state reports
appliedEpoch, the epoch of the applied config; the channel's config and state gain the fields. Requires liquid_shell_platform_interface 0.1.0-dev.14. - A config with a new epoch over an engaged one (another shell taking the chrome over: a pushed or replaced shell, one popping back) is applied without the bar's slide or the chrome's fade, and the tab is laid out before the state is sent, as on an engage.
0.1.0-dev.13 #
- The native state reports
engagedApplied, the applied config'sengaged(ahiddentoggle does not change it); the channel gains the field. On an engage the native bar and chrome show at once, without the slide or the fade.
0.1.0-dev.12 #
- The native state reports the screen side of the iPhone Duo's vertical bar
(
LiquidNativeVerticalBarSide). - iPhone Duo (iOS 27.1): while the vertical bar is shown, Flutter's top
inset is the system's top bar region (26pt, level with the clock)
instead of 0, so a Flutter header is no longer cut by the screen's
rounded corner (VK-930). Existing checkouts run
pod installin the app'sios/to pick up the new source file. - iPhone Duo (iOS 27.1): the search tab's field is reachable beside the vertical bar. Selected when the shell first lays out, the field sits under the title row and no longer hides (it was collapsed to 0pt), so that tab's top inset is 54pt taller; selected later, it is UIKit's field at the bottom of the screen. A fold or unfold restyles it only when the vertical bar comes or goes, and never during a search (VK-979). A fold or unfold on the scrolled search root re-reads Flutter's top inset, which no longer keeps the old one until the page scrolls back (VK-1024).
0.1.0-dev.11 #
- Every destination tab is a clear navigation controller (VK-441). Its
root page host also carries the tab bar's minimize proxy, and so does
every pushed host. The bar is hidden without pages and for a single root
page with an inline title. The channel gains
NativeChromeConfig.tabBarHiddenand a per-tab debug snapshot (NativeDebugSnapshot.tabs, with each tab's bar height). - A root page's large title that turns on while the page is on screen (a tab's pages arrive once the tab shows) is drawn out at rest; UIKit kept it collapsed. So is an iPad search root's when it asks for a large title while shown (VK-441).
tabBarHiddenhides the tab bar and the sidebar, keeps the navigation bar, puts a tiled sidebar back afterwards and dismisses an active search keeping its text (VK-442).- Window controls are zero while the selected tab's navigation bar shows, also at compact width; real under a hidden one (VK-442).
- Page actions (VK-443):
NativePage.actionsbecome the page host'srightBarButtonItems(the SF Symbol image, the accessibility label, the enabled state; an unknown symbol shows the label as text). A tap sendsonPageActionTapped(tab, page, index, sfSymbol)and changes nothing natively. Tests getdebugTap(.pageAction, index)and the top page'sactionSymbolsandactionsEnabledinNativeDebugSnapshot.tabs.
0.1.0-dev.10 #
Version bump to match liquid_shell.
0.1.0-dev.9 #
First release on pub.dev.
0.1.0-dev.8 #
- Swift Package Manager: CI builds the example with it (Flutter 3.44), so the README no longer calls it unverified.
- Native minimize on scroll (VK-600): a hidden
MinimizeProxyscroll view per tab host, set as the bottom content scroll view, that follows the offset Dart sends; its pan sits on the Flutter view (direct touches only, not over platform views) while the bar may minimize;tabBarMinimizeBehaviorfollowsminimizeOnScroll; an expand toggle serves a selection change (not into search) andexpandNativeTabBar;scrollsToTop = falseon the proxies and on the search page proxy, so the status-bar tap reaches Flutter. The channel gainsminimizeOnScroll,setMinimizeScrollandexpandTabBar. - The proxies turn on UIKit's bottom scroll-edge effect under the compact
bar. It shows while
minimizeOnScrollis on and is hidden (bottomEdgeEffect.isHidden) while it is off. - Breaking for fakes: the exported
NativeDebugSnapshotgains two required fields,minimizeBehaviorandminimizePanAttached. Code that constructs one (a test fake) must pass them. - An activation Dart asks for right after selecting the search tab (a deep link, a programmatic focus) is no longer lost when UIKit refuses it because the search root is not in a window yet: it is kept until the root appears, and Dart's deactivate, leaving the tab, hidden chrome or a page pushed over the root drop it. While a page already covers the root the activation is still dropped, not kept. A refused presentation no longer leaves the scope bar drawn on an inactive search (VK-634).
0.1.0-dev.7 #
- UIKit's scope bar for the search tab (VK-550):
scopeBarActivation = .manual, shown inwillPresentand hidden inwillDismiss, titles fromNativeSearchConfig.scopes. The channel gainsscopes,setSearchScopeandonSearchScopeChanged(Pigeon, generated). A user's change is reported once; Dart's own writes are not echoed. - A tap on a native scope puts the search keyboard away and keeps the search active (UIKit keeps the keyboard up), as Flutter's scope bar does.
- The selected scope is carried across a scene reconnect, as the search text is.
- Breaking for fakes: the exported
NativeDebugSnapshotgains four required fields,scopeTitles,scopeShown,selectedScopeandscopeFrame. Code that constructs one (a test fake) must pass them.
0.1.0-dev.6 #
- A page stack applied with the config that selects or leaves a tab is a restore, set without a transition; only a tab that stays selected animates its pushes and pops (VK-502).
- Hidden native chrome (the dormant config of a shell that left, or a hidden one) ends an active search and keeps its text: its field no longer keeps the keyboard up under the hidden chrome, and an activation Dart asks for while the chrome is hidden is ignored (VK-551).
dismissSearchKeyboardon the channel: the search field resigns first responder and the search stays active with its text; marked text the resignation commits is reported once (VK-571).
0.1.0-dev.5 #
- The search destination is UIKit's
UISearchTabwith a nativeUISearchControllerfield (tab-hosted at the bottom on iPhone, stacked under the title row on iPad;prominentTabIdentifieron iPhone iOS 27). Dart's text is written only outside an IME composition, and only the user's edits are reported, so Vietnamese Telex is never disturbed. - Page stacks in the search tab: a clear
UINavigationControllerwith one host perLiquidPage, UIKit's glass back circle, a proxy scroll view for the large title and the scroll-edge effect. Every UIKit pop (the back button, its long-press menu, an accessibility escape) is a proposal to Dart; the back swipe stays with Flutter. - The hit test extends to navigation controllers: the top page's view and its containers are background, so touches there reach Flutter.
- A scene reconnect carries the search text to the new shell.
0.1.0-dev.4 #
- Reports Low Power Mode as
powerSave.
0.1.0-dev.3 #
- Native alerts and action sheets presented from the engine's own window
(
NativeDialogPresenter), over the Pigeon channel.
0.1.0-dev.2 #
- The native iOS 26 shell on iPhone and iPad: a
UITabBarControllerin sidebar mode over the Flutter view (top bar and sidebar at regular width, the floating tab bar at compact width; the trailing action is a search tab), installed at scene connection when Info.plist setsLiquidShellNativeChrome. Every iPhone is compact, in either orientation. - No
notIPadreason any more: the install rule has no idiom fact, so the shell installs on iPhone as on iPad. - On iOS 27 the trailing search tab stays a separate circle after the compact bar's pill when the app is built with the iOS 27 SDK (Xcode 27); built with an older SDK, iOS 27 may draw it inside the pill.
- Window controls read from the iPadOS 26 corner-adaptation region.
LiquidShellIOSreplaces the bare event-channel platform; the Pigeon channel is generated frompigeons/native_shell.dart.- Depends on
meta(imported by the generated channel code).
0.1.0-dev.1 #
- Initial development release.