@capgo/capacitor-updater 5.2.33 → 5.2.35

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.
@@ -58,7 +58,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
58
58
  private static final String channelUrlDefault =
59
59
  "https://api.capgo.app/channel_self";
60
60
 
61
- private final String PLUGIN_VERSION = "5.2.33";
61
+ private final String PLUGIN_VERSION = "5.2.35";
62
62
  private static final String DELAY_CONDITION_PREFERENCES = "";
63
63
 
64
64
  private SharedPreferences.Editor editor;
@@ -875,8 +875,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
875
875
  return (
876
876
  CapacitorUpdaterPlugin.this.autoUpdate &&
877
877
  !"".equals(CapacitorUpdaterPlugin.this.updateUrl) &&
878
- serverUrl == null &&
879
- !"".equals(serverUrl)
878
+ (serverUrl == null || "".equals(serverUrl))
880
879
  );
881
880
  }
882
881
 
@@ -15,7 +15,7 @@ import Version
15
15
  @objc(CapacitorUpdaterPlugin)
16
16
  public class CapacitorUpdaterPlugin: CAPPlugin {
17
17
  public var implementation = CapacitorUpdater()
18
- private let PLUGIN_VERSION: String = "5.2.33"
18
+ private let PLUGIN_VERSION: String = "5.2.35"
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"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "5.2.33",
4
- "packageManager": "pnpm@8.7.1",
3
+ "version": "5.2.35",
4
+ "packageManager": "pnpm@8.7.4",
5
5
  "license": "MPL-2.0",
6
6
  "description": "Live update for capacitor apps",
7
7
  "main": "dist/plugin.cjs.js",