@capgo/capacitor-updater 4.11.3 → 4.11.4
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.
|
@@ -52,7 +52,7 @@ public class CapacitorUpdater {
|
|
|
52
52
|
private static final String bundleDirectory = "versions";
|
|
53
53
|
|
|
54
54
|
public static final String TAG = "Capacitor-updater";
|
|
55
|
-
public static final String pluginVersion = "4.11.
|
|
55
|
+
public static final String pluginVersion = "4.11.4";
|
|
56
56
|
|
|
57
57
|
public SharedPreferences.Editor editor;
|
|
58
58
|
public SharedPreferences prefs;
|
|
@@ -287,6 +287,8 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
|
|
|
287
287
|
final JSObject ret = new JSObject();
|
|
288
288
|
ret.put("version", version);
|
|
289
289
|
CapacitorUpdaterPlugin.this.notifyListeners("downloadFailed", ret);
|
|
290
|
+
final BundleInfo current = CapacitorUpdaterPlugin.this.implementation.getCurrentBundle();
|
|
291
|
+
CapacitorUpdaterPlugin.this.implementation.sendStats("download_fail", current.getVersionName());
|
|
290
292
|
}
|
|
291
293
|
}
|
|
292
294
|
|
|
@@ -208,7 +208,7 @@ extension CustomError: LocalizedError {
|
|
|
208
208
|
public let TAG = "✨ Capacitor-updater:"
|
|
209
209
|
public let CAP_SERVER_PATH = "serverBasePath"
|
|
210
210
|
public var customId = ""
|
|
211
|
-
public let pluginVersion = "4.11.
|
|
211
|
+
public let pluginVersion = "4.11.4"
|
|
212
212
|
public var statsUrl = ""
|
|
213
213
|
public var channelUrl = ""
|
|
214
214
|
public var appId = ""
|