@capgo/capacitor-updater 6.25.5 → 6.25.6
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.
|
@@ -71,7 +71,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
71
71
|
private static final String[] BREAKING_EVENT_NAMES = { "breakingAvailable", "majorAvailable" };
|
|
72
72
|
private static final String LAST_FAILED_BUNDLE_PREF_KEY = "CapacitorUpdater.lastFailedBundle";
|
|
73
73
|
|
|
74
|
-
private final String pluginVersion = "6.25.
|
|
74
|
+
private final String pluginVersion = "6.25.6";
|
|
75
75
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
76
76
|
|
|
77
77
|
private SharedPreferences.Editor editor;
|
|
@@ -54,7 +54,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
54
54
|
CAPPluginMethod(name: "isShakeMenuEnabled", returnType: CAPPluginReturnPromise)
|
|
55
55
|
]
|
|
56
56
|
public var implementation = CapgoUpdater()
|
|
57
|
-
private let pluginVersion: String = "6.25.
|
|
57
|
+
private let pluginVersion: String = "6.25.6"
|
|
58
58
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
59
59
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
60
60
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|
|
@@ -525,7 +525,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
525
525
|
self.logger.error("Failed to download from: \(String(describing: url)) \(error.localizedDescription)")
|
|
526
526
|
self.notifyListeners("downloadFailed", data: ["version": version])
|
|
527
527
|
self.implementation.sendStats(action: "download_fail")
|
|
528
|
-
call.reject("Failed to download from: \(url!)
|
|
528
|
+
call.reject("Failed to download from: \(url!) - \(error.localizedDescription)")
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
}
|