Skip to content

ios27-v2.0.4

Choose a tag to compare

@rdlabo rdlabo released this 28 Oct 15:42
· 18 commits to main since this release

This patch improves Native UI handoffs during overlays, modal movement, and orientation changes. Native UI and the iOS 27 theme are released together as 2.0.4.

Native UI

  • Use prepared native images while Web overlays cover controls or a modal is being dragged, then restore native ownership at the current position.
  • Preserve valid images during rapid repeated sheet movement and keep projected rail DOM stable across modal surface changes.
  • Coordinate supported modal entry with Ionic's actual animation and geometry, avoiding competing sheet-height and native-position updates.
  • Keep covered controls under image projection during rotation instead of revealing native controls above the overlay.
  • Use the standalone @webview-native-ui/engine 0.0.6 for shared image and scroll ownership. npm, SwiftPM, CocoaPods, and Maven dependency versions are aligned.

Upgrade

npm install @rdlabo/capacitor-native-ui@2.0.4 @rdlabo/ionic-theme-ios27@2.0.4
npx cap sync

Rebuild the native application after syncing. CocoaPods projects also need the local Engine pod setup. See the Native UI setup guide for integration details.

What's Changed

  • fix(native-ui-engine): restore iOS native views after Web projection by @rdlabo in #334
  • fix(native-ui-engine): support native ad handoff and fallback by @rdlabo in #333
  • fix(native-ui): preserve projection ownership with Engine 0.0.5 by @rdlabo in #336
  • fix(native-ui): prevent controls flickering on orientation changes by @Dimibe in #335
  • fix(native-ui): preserve covered projection on orientation changes by @rdlabo in #337
  • fix(native-ui): preserve image projection during modal dragging by @rdlabo in #338

New Contributors

Full Changelog: ios27-v2.0.3...ios27-v2.0.4