@capgo/capacitor-updater 3.3.15 → 3.3.16

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.
@@ -59,7 +59,7 @@ public class CapacitorUpdater {
59
59
 
60
60
  public String appId = "";
61
61
  public String deviceID = "";
62
- public final String pluginVersion = "3.3.15";
62
+ public final String pluginVersion = "3.3.16";
63
63
  public String statsUrl = "";
64
64
 
65
65
  public CapacitorUpdater (final Context context) throws PackageManager.NameNotFoundException {
@@ -228,7 +228,7 @@ public class CapacitorUpdaterPlugin extends Plugin implements Application.Activi
228
228
  final JSObject ret = new JSObject();
229
229
  final String current = pathHot.length() >= 10 ? pathHot.substring(pathHot.length() - 10) : "builtin";
230
230
  ret.put("current", current);
231
- ret.put("currentNative", this.currentVersionNative);
231
+ ret.put("currentNative", this.currentVersionNative.toString());
232
232
  call.resolve(ret);
233
233
  }
234
234
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "3.3.15",
3
+ "version": "3.3.16",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",