cordova-plugin-ionic
Advanced tools
Comparing version 5.1.5 to 5.1.6
@@ -7,2 +7,12 @@ --- | ||
**cordova plugin ls output:** | ||
``` | ||
cordova plugin ls output here | ||
``` | ||
**ionic info output:** | ||
``` | ||
ionic info output here | ||
``` | ||
**Describe the bug** | ||
@@ -24,14 +34,3 @@ A clear and concise description of what the bug is. | ||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
**Additional context** | ||
Add any other context about the problem here. |
Changelog | ||
====== | ||
## 5.1.6 | ||
* Fixed a bug with none update method strategy that could cause background updates upon resume of the app from background | ||
## 5.0.6 | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "cordova-plugin-ionic", | ||
"version": "5.1.5", | ||
"version": "5.1.6", | ||
"cordova": { | ||
@@ -5,0 +5,0 @@ "id": "cordova-plugin-ionic", |
@@ -61,3 +61,3 @@ /// <reference path="../types/IonicCordova.d.ts" /> | ||
private MANIFEST_FILE = 'pro-manifest.json'; | ||
public PLUGIN_VERSION = '5.1.5'; | ||
public PLUGIN_VERSION = '5.1.6'; | ||
@@ -360,3 +360,3 @@ constructor(appInfo: IAppInfo, preferences: ISavedPreferences) { | ||
if (prefs.currentVersionId) { | ||
if (!this.isCurrentVersion(prefs.updates[prefs.currentVersionId])) { | ||
if (!this.isCurrentVersion(prefs.updates[prefs.currentVersionId]) && !this._isRunningVersion(prefs.currentVersionId)) { | ||
console.log( | ||
@@ -701,4 +701,3 @@ `Update ${prefs.currentVersionId} was built for different binary version removing update from device` + | ||
if (this.fetchIsAvailable && this.lastPause && this.minBackgroundDuration && Date.now() - this.lastPause > this.minBackgroundDuration * 1000) { | ||
await (await this.delegate).sync(); | ||
await this.reloadApp(); | ||
await (await this.delegate)._handleInitialPreferenceState(); | ||
} | ||
@@ -705,0 +704,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
192085
2570