cordova-plugin-ionic
Advanced tools
Comparing version 5.0.7 to 5.0.8
@@ -50,5 +50,4 @@ "use strict"; | ||
this.SNAPSHOT_CACHE = 'ionic_built_snapshots'; | ||
this.PLUGIN_VERSION = '5.0.6-1'; | ||
this.PLUGIN_VERSION = '5.0.7'; | ||
this.appInfo = appInfo; | ||
console.log('CONSTRUCT', appInfo.bundleVersion); | ||
this._savedPreferences = preferences; | ||
@@ -164,6 +163,2 @@ } | ||
yield this._savePrefs(prefs); | ||
console.log('APPPPINGO', appInfo.bundleVersion); | ||
if (this._savedPreferences.availableUpdate) { | ||
console.log('avaiiiiilable', this._savedPreferences.availableUpdate.binaryVersion); | ||
} | ||
} | ||
@@ -290,5 +285,3 @@ return checkDeviceResp; | ||
prefs.updates[prefs.availableUpdate.versionId] = prefs.availableUpdate; | ||
console.log('EXTTTRACT', prefs.availableUpdate.binaryVersion); | ||
yield this._savePrefs(prefs); | ||
console.log('EXTTTRACT 2222', this._savedPreferences.updates[prefs.availableUpdate.versionId].binaryVersion); | ||
yield this.cleanupVersions(); | ||
@@ -314,3 +307,2 @@ return true; | ||
const prefs = this._savedPreferences; | ||
console.log('waht the hell', prefs.binaryVersion); | ||
// Save the current update if it's ready | ||
@@ -338,5 +330,2 @@ if (prefs.availableUpdate && prefs.availableUpdate.state === UpdateState.Ready) { | ||
// Is the current version built from a previous binary? | ||
console.log('Version Check!!!', prefs.binaryVersion); | ||
console.log('currnetn!!!', prefs.updates[prefs.currentVersionId].binaryVersion); | ||
console.log('ture>??!!!', prefs.binaryVersion !== prefs.updates[prefs.currentVersionId].binaryVersion); | ||
if (prefs.binaryVersion !== prefs.updates[prefs.currentVersionId].binaryVersion) { | ||
@@ -403,3 +392,2 @@ console.log(`Version ${prefs.currentVersionId} was built for binary version ` + | ||
const snapshotCacheDirEntry = yield this._fileManager.getDirectory(this.getSnapshotCacheDir(''), true); | ||
console.log(snapshotCacheDirEntry); | ||
rootAppDirEntry.copyTo(snapshotCacheDirEntry, versionId, resolve, reject); | ||
@@ -714,3 +702,2 @@ } | ||
preferences.binaryVersion = appInfo.bundleVersion; | ||
console.log('Inittttitalize', appInfo.bundleVersion); | ||
const delegate = new IonicDeployImpl(appInfo, preferences); | ||
@@ -717,0 +704,0 @@ // Only initialize start the plugin if fetch is available |
{ | ||
"name": "cordova-plugin-ionic", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"cordova": { | ||
@@ -43,3 +43,3 @@ "id": "cordova-plugin-ionic", | ||
"test": "echo 'We should really get unit tests running'", | ||
"release": "np", | ||
"release": "npm run build && np", | ||
"docs": "./scripts/docs.sh" | ||
@@ -46,0 +46,0 @@ }, |
@@ -61,3 +61,3 @@ /// <reference path="../types/IonicCordova.d.ts" /> | ||
public SNAPSHOT_CACHE = 'ionic_built_snapshots'; | ||
public PLUGIN_VERSION = '5.0.7'; | ||
public PLUGIN_VERSION = '5.0.8'; | ||
@@ -64,0 +64,0 @@ constructor(appInfo: IAppInfo, preferences: ISavedPreferences) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
435776
10111