@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.3";
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.3"
211
+ public let pluginVersion = "4.11.4"
212
212
  public var statsUrl = ""
213
213
  public var channelUrl = ""
214
214
  public var appId = ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "4.11.3",
3
+ "version": "4.11.4",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",