Skip to content

v9.0.0-0

Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 01 Dec 07:28
· 2 commits to main since this release

Capacitor 9 prerelease

The plugin now ships as @webview-native-ui/capacitor-plugin. Capacitor 9 apps can try it with npm install @webview-native-ui/capacitor-plugin@next. Capacitor 8 apps should stay on @rdlabo/capacitor-native-ui@2.

  • Upgrade the app to Capacitor 9, remove the old npm dependency, and replace its prefix in imports. Existing subpaths such as /core, /integration and /vertical-bars are available under the new name. Build the web assets, run npx cap sync, and rebuild the native apps.
  • Use Node.js 24+, iOS 16+, and Android minSdk 26 with compileSdk 37. Individual native UI features retain their platform requirements. The iOS product and pod are named WebviewNativeUiCapacitorPlugin. The Swift module is still NativeUIPlugin and the bridge is still NativeUI.
  • npm, SwiftPM, CocoaPods, and Gradle use Engine 1.0.11. Its npm peer declaration covers Capacitor 8. Default npm installs on Capacitor 9 emit a peer warning. Apps using strict peer resolution or installing Engine directly should apply the scoped override in the migration guide.
  • Android waits for the first WebView draw before capturing translucent Compose content. This preserves the page background during the first native-to-Web handoff.
  • Ionic theme users should use a theme release that supports the new package name. The coordinated iOS 27 theme change tracks that migration.

Migration guide · Plugin changes in #65 · Full comparison since v2.1.13