Socket
Socket
Sign inDemoInstall

cordova-plugin-ionic-webview

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ionic-webview

The official Ionic's WKWebView Engine Plugin


Version published
Weekly downloads
15K
decreased by-23.84%
Maintainers
3
Weekly downloads
 
Created
Source

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-ios 4+
  • Android: Android 5.0+ and cordova-android 6.4+

Migrating to 2.x

  1. Remove and re-add the Web View plugin:

    cordova plugin rm cordova-plugin-ionic-webview
    cordova plugin add cordova-plugin-ionic-webview@latest
    
  2. Apps are now served from HTTP on Android.

    • The origin for requests from the Web View is http://localhost:8080.
  3. Replace any usages of window.Ionic.normalizeURL() with window.Ionic.WebView.convertFileSrc().

    • For Ionic Angular projects, there is an Ionic Native wrapper:

      npm install @ionic-native/ionic-webview@beta
      

Keywords

FAQs

Package last updated on 04 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc