Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-ionic-webview

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ionic-webview - npm Package Versions

1
46

2.0.2

Diff

Changelog

Source

2.0.2 (2018-07-30)

  • Immediately load new server base path upon setting it. (#132)

<a name="2.0.1"></a>

nhyatt
published 2.0.1 •

Changelog

Source

2.0.1 (2018-07-25)

  • Avoid "not modified" response on iOS by always overriding last modified date. (#127)

<a name="2.0.0"></a>

dwieeb
published 2.0.0 •

Changelog

Source

2.0.0 (2018-07-23)

  • BREAKING: HTTP server now runs for iOS and Android, instead of just iOS. The server is configured the same for both platforms.
  • BREAKING: HTTP server now loads the app from a base href of /. The app URL behaves like http://localhost:8080/index.html instead of http://localhost:8080/Users/.../index.html.
  • BREAKING: HTTP server is configured to run in HTML5 routing mode (push state) by default.
  • BREAKING: File access through the Web View must be served by the HTTP server to avoid security errors in the Web View. Loading files via file:// is not allowed by the Web View. The HTTP server will serve files via the _file_ prefix, e.g. http://localhost:8080/_file_/Users/.../file.png.
  • window.Ionic.normalizeURL() has been deprecated. Use window.Ionic.WebView.convertFileSrc().
  • iOS update HTTP server to latest upstream version (GCDwebserve 3.4.2)
  • iOS update HTTP server to restart sockets with error state when resuming from background
  • iOS enable HTTP server to continue running in background if the webview is running.
  • iOS enable Webview to continue running in background. Requires background mode capability enabled in xcode + valid use case as per app store requirements. If your app is not performing valid background tasks it will still be suspended by the OS as usual. As long as valid background tasks are running the webview will continue to function as expected.
  • iOS add config.xml options:
    • WKSuspendInBackground - defaults to true, if set to false then the webview and HTTP server will continue to run when the app is in the background or screen is locked
    • WKPort - defaults to 8080, define the port that the HTTP server will listen on
    • WKBind - defaults to localhost, if set to 127.0.0.1 then this IP will be used instead of the localhost hostname for the HTTP server

See Github releases for earlier changes.

dwieeb
published 2.0.0-beta.2 •

dwieeb
published 2.0.0-beta.1 •

dwieeb
published 2.0.0-beta.0 •

nhyatt
published 1.2.1 •

maxlynch
published 1.2.0 •

maxlynch
published 1.1.19 •

manucorporat
published 1.1.16 •

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