cordova-plugin-meteor-webapp
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "cordova-plugin-meteor-webapp", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Cordova plugin that serves a Meteor web app through a local server and implements hot code push", | ||
@@ -24,3 +24,13 @@ "cordova": { | ||
"author": "Meteor Development Group", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"scripts": { | ||
"pretest": "ios-sim start --devicetypeid=iPhone-X", | ||
"test": "cordova-paramedic --config ./.paramedic.config.js" | ||
}, | ||
"devDependencies": { | ||
"cordova": "^8.0.0", | ||
"cordova-paramedic": "github:meteor/cordova-paramedic#40df66c3efc2f0db4d66b8c172174a68c031c114", | ||
"ios-deploy": "^1.9.4", | ||
"ios-sim": "^7.0.0" | ||
} | ||
} |
@@ -31,2 +31,17 @@ var fileUrlRegEx = /^file:\/\/(.*)/; | ||
switchToPendingVersion: function(callback, errorCallback) { | ||
cordova.exec( | ||
callback, | ||
(error) => { | ||
console.error(error); | ||
if (typeof errorCallback === "function") { | ||
errorCallback(error); | ||
} | ||
}, | ||
"WebAppLocalServer", | ||
"switchPendingVersion", | ||
[] | ||
); | ||
}, | ||
onError: function(callback) { | ||
@@ -33,0 +48,0 @@ cordova.exec( |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2613838
331
23284
4