@capgo/capacitor-updater 4.0.0-alpha.37 → 4.0.0-alpha.38
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.
|
@@ -47,7 +47,7 @@ public class CapacitorUpdater {
|
|
|
47
47
|
private static final String bundleDirectory = "versions";
|
|
48
48
|
|
|
49
49
|
public static final String TAG = "Capacitor-updater";
|
|
50
|
-
public static final String pluginVersion = "4.0.0-alpha.
|
|
50
|
+
public static final String pluginVersion = "4.0.0-alpha.38";
|
|
51
51
|
|
|
52
52
|
public SharedPreferences.Editor editor;
|
|
53
53
|
public SharedPreferences prefs;
|
|
@@ -149,7 +149,7 @@ extension CustomError: LocalizedError {
|
|
|
149
149
|
|
|
150
150
|
public let TAG = "✨ Capacitor-updater:";
|
|
151
151
|
public let CAP_SERVER_PATH = "serverBasePath"
|
|
152
|
-
public let pluginVersion = "4.0.0-alpha.
|
|
152
|
+
public let pluginVersion = "4.0.0-alpha.38"
|
|
153
153
|
public var statsUrl = ""
|
|
154
154
|
public var appId = ""
|
|
155
155
|
public var deviceID = UIDevice.current.identifierForVendor?.uuidString ?? ""
|
|
@@ -402,7 +402,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
|
|
|
402
402
|
let _ = self.implementation.setNextBundle(next: next.getId())
|
|
403
403
|
} catch {
|
|
404
404
|
print("\(self.implementation.TAG) Error downloading file", error.localizedDescription)
|
|
405
|
-
self.notifyListeners("downloadFailed", data: ["version": latestVersionName])
|
|
405
|
+
self.notifyListeners("downloadFailed", data: ["version": latestVersionName ?? ""])
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
}
|