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 - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

# [2.3.2](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v2.3.1...v2.3.2) (2019-01-18)
### Bug Fixes
* **ios:** Fix video playback of files with uppercase extension ([#277](https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/277)), closes [#260](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/260)
* Use a single scheme for all files ([#278](https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/278)), closes [#258](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/258)
## [2.3.1](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v2.3.0...v2.3.1) (2018-12-06)

@@ -2,0 +12,0 @@

2

package.json
{
"name": "cordova-plugin-ionic-webview",
"version": "2.3.1",
"version": "2.3.2",
"description": "Ionic Web View Engine Plugin",

@@ -5,0 +5,0 @@ "scripts": {

@@ -8,13 +8,12 @@ var exec = require('cordova/exec');

}
if (!url.startsWith('file://')) {
return url;
if (url.startsWith('/')) {
return window.WEBVIEW_SERVER_URL + '/_app_file_' + url;
}
if (window.WEBVIEW_SERVER_URL.startsWith('ionic://')) {
return url.replace('file', 'ionic-asset');
if (url.startsWith('file://')) {
return window.WEBVIEW_SERVER_URL + url.replace('file://', '/_app_file_');
}
url = url.substr(7); // len("file://") == 7
if (url.length === 0 || url[0] !== '/') { // ensure the new URL starts with /
url = '/' + url;
if (url.startsWith('content://')) {
return window.WEBVIEW_SERVER_URL + url.replace('content:/', '/_app_content_');
}
return window.WEBVIEW_SERVER_URL + '/_file_' + url;
return url;
},

@@ -21,0 +20,0 @@ setServerBasePath: function(path) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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