Repository navigation
2.1.3
This release improves modal button presentation on the iPhone Duo rail, restores native press feedback for grouped horizontal toolbar buttons, and fixes missing rail tab badges. It also adds an experimental Android Material You color API.
iPhone Duo modal fixes
Modal rail controls retain Native ownership during presentation, dismissal, dragging and snapping. Image handoffs use transparent capture and move with the modal surface, reducing rectangular background artifacts and keeping the controls aligned with the dialog. Dismissing a modal also restores the underlying navigation reliably. Page rails retain their composited capture and shadows. (#31)
Additional geometry fixes account for modal dialog borders and preserve the reserved toolbar boundary when concealed Web children collapse a button group to zero height. These prevent image-position offsets and unnecessary image handoffs above the boundary. (#29, #30)
Known limitation: transparent snapshots cannot reproduce live Liquid Glass reflection and refraction. Brief double-composited edges can still appear during handoffs; this release improves the transition but does not eliminate every visual difference.
Buttons and tab badges
- Grouped horizontal toolbar buttons: pressing a button now activates the shared capsule's native glass feedback. Each button retains its own action. Thanks to @Dimibe for the focused fix and regression test! (#32)
- Rail tab badges: a visible
ion-badgeinside anion-tab-buttonremains eligible for native projection even when its Web source coordinates fall outside the viewport. Text changes, hiding and removal continue to update the badge. Toolbar-action badges are outside this change's scope. (#33)
Experimental Android dynamic colors
The @rdlabo/capacitor-native-ui/dynamic-colors entrypoint exposes Material You color roles on Android 12 and later without enabling native UI projection or changing the Activity theme. It returns light and dark schemes, availability and system appearance, with a removable listener for color invalidation. Web, iOS and older Android versions return an unsupported result. (#28)
This API is experimental: its roles and change-notification behavior may evolve. Ionic palette mapping remains the responsibility of the consuming theme. Physical-device wallpaper-change behavior has not yet been verified.
Upgrade
npm install @rdlabo/capacitor-native-ui@2.1.3
npx cap syncThis release uses Engine 1.0.4, aligned across npm, SwiftPM, CocoaPods and Android Maven. Release tags now use vVERSION; previous capacitor-vVERSION tags remain available. (#34)
Plugin, Swift, Android and both theme integration CI shards passed before publication. The release workflow also verified the build, tests, packaged ESM entrypoints and Engine Maven dependency.
Contributors
Thank you to @Dimibe for contributing the grouped toolbar glass feedback fix in #32, including regression coverage and simulator validation. Thanks also to everyone who reported and helped investigate the Duo modal behavior.
Full changelog: capacitor-v2.1.2...v2.1.3