@capgo/capacitor-updater 4.61.6 → 4.61.8

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.
@@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin
55
55
  private static final String channelUrlDefault =
56
56
  "https://api.capgo.app/channel_self";
57
57
 
58
- private final String PLUGIN_VERSION = "4.61.6";
58
+ private final String PLUGIN_VERSION = "4.61.8";
59
59
  private static final String DELAY_CONDITION_PREFERENCES = "";
60
60
 
61
61
  private SharedPreferences.Editor editor;
@@ -145,7 +145,10 @@ public class CapacitorUpdaterPlugin
145
145
  CapacitorUpdater.TAG,
146
146
  "init for device " + this.implementation.deviceID
147
147
  );
148
-
148
+ Log.i(
149
+ CapacitorUpdater.TAG,
150
+ "version native " + this.currentVersionNative.getOriginalString()
151
+ );
149
152
  this.autoDeleteFailed =
150
153
  this.getConfig().getBoolean("autoDeleteFailed", true);
151
154
  this.autoDeletePrevious =
@@ -15,7 +15,7 @@ import Version
15
15
  @objc(CapacitorUpdaterPlugin)
16
16
  public class CapacitorUpdaterPlugin: CAPPlugin {
17
17
  private var implementation = CapacitorUpdater()
18
- private let PLUGIN_VERSION: String = "4.61.6"
18
+ private let PLUGIN_VERSION: String = "4.61.8"
19
19
  static let updateUrlDefault = "https://api.capgo.app/updates"
20
20
  static let statsUrlDefault = "https://api.capgo.app/stats"
21
21
  static let channelUrlDefault = "https://api.capgo.app/channel_self"
@@ -41,6 +41,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
41
41
  } catch {
42
42
  print("\(self.implementation.TAG) Cannot get version native \(currentVersionNative)")
43
43
  }
44
+ print("\(self.implementation.TAG) version native \(self.currentVersionNative.description)")
44
45
  implementation.versionName = getConfig().getString("version", Bundle.main.versionName)!
45
46
  autoDeleteFailed = getConfig().getBoolean("autoDeleteFailed", true)
46
47
  autoDeletePrevious = getConfig().getBoolean("autoDeletePrevious", true)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "4.61.6",
4
- "packageManager": "pnpm@8.4.0",
3
+ "version": "4.61.8",
4
+ "packageManager": "pnpm@8.5.1",
5
5
  "license": "MPL-2.0",
6
6
  "description": "Live update for capacitor apps",
7
7
  "main": "dist/plugin.cjs.js",