@capgo/capacitor-updater 7.19.2 → 7.19.3

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.
@@ -65,7 +65,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
65
65
  private static final String channelUrlDefault = "https://plugin.capgo.app/channel_self";
66
66
  private static final String CUSTOM_ID_PREF_KEY = "CapacitorUpdater.customId";
67
67
 
68
- private final String PLUGIN_VERSION = "7.19.2";
68
+ private final String PLUGIN_VERSION = "7.19.3";
69
69
  private static final String DELAY_CONDITION_PREFERENCES = "";
70
70
 
71
71
  private SharedPreferences.Editor editor;
@@ -51,14 +51,13 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
51
51
  CAPPluginMethod(name: "isShakeMenuEnabled", returnType: CAPPluginReturnPromise)
52
52
  ]
53
53
  public var implementation = CapgoUpdater()
54
- private let PLUGIN_VERSION: String = "7.19.2"
54
+ private let PLUGIN_VERSION: String = "7.19.3"
55
55
  static let updateUrlDefault = "https://plugin.capgo.app/updates"
56
56
  static let statsUrlDefault = "https://plugin.capgo.app/stats"
57
57
  static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
58
58
  private let customIdDefaultsKey = "CapacitorUpdater.customId"
59
59
  // Note: DELAY_CONDITION_PREFERENCES is now defined in DelayUpdateUtils.DELAY_CONDITION_PREFERENCES
60
60
  private var updateUrl = ""
61
- private var statsUrl = ""
62
61
  private var backgroundTaskID: UIBackgroundTaskIdentifier = UIBackgroundTaskIdentifier.invalid
63
62
  private var currentVersionNative: Version = "0.0.0"
64
63
  private var currentBuildVersion: String = "0"
@@ -315,7 +314,6 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
315
314
  call.reject("setStatsUrl called without url")
316
315
  return
317
316
  }
318
- self.statsUrl = url
319
317
  self.implementation.statsUrl = url
320
318
  call.resolve()
321
319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "7.19.2",
3
+ "version": "7.19.3",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Live update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",