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

cordova-plugin-ionic

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ionic - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

4

CHANGELOG.md
Changelog
======
## 1.1.7
* When the app is a `DEBUG` build, the deploy feature will show a prompt and ask whether to apply updates
## 1.1.6

@@ -5,0 +9,0 @@

4

package.json
{
"name": "cordova-plugin-ionic",
"version": "1.1.6",
"version": "1.1.7",
"cordova": {

@@ -14,3 +14,3 @@ "id": "cordova-plugin-ionic",

"cordovaDependencies": {
"1.1.5": {
"1.1.7": {
"cordova-plugin-splashscreen": ">=4.0.0"

@@ -17,0 +17,0 @@ }

var exec = require('cordova/exec');
/**
* LIVE UPDATE API
*
* The plugin API for the live updates feature.
*/
var IonicDeploy = {

@@ -7,2 +12,5 @@ init: function(app_id, server_host, success, failure) {

},
debug: function(success, failure) {
exec(success, failure, 'IonicDeploy', 'showDebug', []);
},
check: function(app_id, channel_tag, success, failure) {

@@ -37,2 +45,8 @@ exec(success, failure, 'IonicDeploy', 'check', [app_id, channel_tag]);

/**
* BASE API
*
* All features of the Ionic Cordova plugin are registered here, along with some low level error tracking features used
* by the monitoring service.
*/
var IonicCordova = {

@@ -57,2 +71,17 @@ enableCrashLogging: function(success, fail) {

/**
* DEBUG DIALOG
*
* Right now this is just used for live updates, but all manner of functionality could be added in the case where the
* app is a debug build.
*/
function onDeviceReady() {
IonicCordova.deploy.debug(function(success) {
console.log("SUCCESS", success);
}, function(fail) {
console.log("FAIL", fail);
})
}
document.addEventListener("deviceready", onDeviceReady, false);
module.exports = IonicCordova;

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