cordova-plugin-ionic-webview-fork
v1.0.0
Published
The official Ionic's WKWebView Engine Plugin
Downloads
39
Readme
Ionic Web View
The Web View plugin for Cordova that is specialized for Ionic apps.
This is for cordova-plugin-ionic-webview @ 2.x, which uses the latest and greatest features and may not work with all apps. See Requirements and Migrating to 2.x.
:book: Documentation: https://beta.ionicframework.com/docs/building/webview
:mega: Support/Questions? Please see our Support Page for general support questions. The issues on GitHub should be reserved for bug reports and feature requests.
:sparkling_heart: Want to contribute? Please see CONTRIBUTING.md.
Requirements
- iOS: iOS 10+ and
cordova-ios4+ - Android: Android 5.0+ and
cordova-android6.4+
Migrating to 2.x
Remove and re-add the Web View plugin:
cordova plugin rm cordova-plugin-ionic-webview cordova plugin add cordova-plugin-ionic-webview@latestApps are now served from HTTP on Android.
- The origin for requests from the Web View is
http://localhost:8080.
- The origin for requests from the Web View is
Replace any usages of
window.Ionic.normalizeURL()withwindow.Ionic.WebView.convertFileSrc().For Ionic Angular projects, there is an Ionic Native wrapper:
npm install @ionic-native/ionic-webview@beta
