@capgo/capacitor-updater 6.0.68 → 6.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
55
55
|
private static final String channelUrlDefault =
|
|
56
56
|
"https://api.capgo.app/channel_self";
|
|
57
57
|
|
|
58
|
-
private final String PLUGIN_VERSION = "6.0.
|
|
58
|
+
private final String PLUGIN_VERSION = "6.0.69";
|
|
59
59
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
60
60
|
|
|
61
61
|
private SharedPreferences.Editor editor;
|
|
@@ -1318,7 +1318,10 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
1318
1318
|
type
|
|
1319
1319
|
);
|
|
1320
1320
|
if (delayConditionList != null && !delayConditionList.isEmpty()) {
|
|
1321
|
-
Log.i(
|
|
1321
|
+
Log.i(
|
|
1322
|
+
CapacitorUpdater.TAG,
|
|
1323
|
+
"Update delayed until delay conditions met"
|
|
1324
|
+
);
|
|
1322
1325
|
return;
|
|
1323
1326
|
}
|
|
1324
1327
|
final BundleInfo current = this.implementation.getCurrentBundle();
|
|
@@ -15,7 +15,7 @@ import Version
|
|
|
15
15
|
@objc(CapacitorUpdaterPlugin)
|
|
16
16
|
public class CapacitorUpdaterPlugin: CAPPlugin {
|
|
17
17
|
public var implementation = CapacitorUpdater()
|
|
18
|
-
private let PLUGIN_VERSION: String = "6.0.
|
|
18
|
+
private let PLUGIN_VERSION: String = "6.0.69"
|
|
19
19
|
static let updateUrlDefault = "https://api.capgo.app/updates"
|
|
20
20
|
static let statsUrlDefault = "https://api.capgo.app/stats"
|
|
21
21
|
static let channelUrlDefault = "https://api.capgo.app/channel_self"
|
|
@@ -759,7 +759,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
|
|
|
759
759
|
return DelayCondition(kind: kind, value: value)
|
|
760
760
|
}
|
|
761
761
|
if delayConditionList != nil && delayConditionList?.capacity != 0 {
|
|
762
|
-
print("\(self.implementation.TAG) Update delayed
|
|
762
|
+
print("\(self.implementation.TAG) Update delayed until delay conditions met")
|
|
763
763
|
return
|
|
764
764
|
}
|
|
765
765
|
let current: BundleInfo = self.implementation.getCurrentBundle()
|