@capgo/capacitor-updater 4.24.0 → 4.25.0
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.
package/README.md
CHANGED
|
@@ -620,14 +620,15 @@ Get the state of auto update config. This will return `false` in manual mode.
|
|
|
620
620
|
|
|
621
621
|
#### latestVersion
|
|
622
622
|
|
|
623
|
-
| Prop
|
|
624
|
-
|
|
|
625
|
-
| **`version`**
|
|
626
|
-
| **`major`**
|
|
627
|
-
| **`message`**
|
|
628
|
-
| **`
|
|
629
|
-
| **`
|
|
630
|
-
| **`
|
|
623
|
+
| Prop | Type | Description | Since |
|
|
624
|
+
| ---------------- | -------------------- | ----------------------- | ----- |
|
|
625
|
+
| **`version`** | <code>string</code> | Res of getLatest method | 4.0.0 |
|
|
626
|
+
| **`major`** | <code>boolean</code> | | |
|
|
627
|
+
| **`message`** | <code>string</code> | | |
|
|
628
|
+
| **`sessionKey`** | <code>string</code> | | |
|
|
629
|
+
| **`error`** | <code>string</code> | | |
|
|
630
|
+
| **`old`** | <code>string</code> | | |
|
|
631
|
+
| **`url`** | <code>string</code> | | |
|
|
631
632
|
|
|
632
633
|
|
|
633
634
|
#### channelRes
|
|
@@ -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.
|
|
58
|
+
private final String PLUGIN_VERSION = "4.25.0";
|
|
59
59
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
60
60
|
|
|
61
61
|
private SharedPreferences.Editor editor;
|
package/dist/docs.json
CHANGED
|
@@ -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.
|
|
18
|
+
private let PLUGIN_VERSION: String = "4.25.0"
|
|
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"
|