@capgo/capacitor-updater 8.41.11 → 8.41.12
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
|
@@ -100,6 +100,8 @@ Starting from v8, the plugin uses [ZIPFoundation](https://github.com/weichsel/ZI
|
|
|
100
100
|
| v3.\*.\* | v3.\*.\* | ⚠️ Deprecated |
|
|
101
101
|
| > 7 | v4.\*.\* | ⚠️ Deprecated, our CI got crazy and bumped too much version |
|
|
102
102
|
|
|
103
|
+
> **Note:** Versions 5, 6, 7, and 8 all share the same features. The major version simply follows your Capacitor version. You can safely use any of these versions that matches your Capacitor installation.
|
|
104
|
+
|
|
103
105
|
### iOS
|
|
104
106
|
|
|
105
107
|
#### Privacy manifest
|
|
@@ -140,6 +142,24 @@ npm install @capgo/capacitor-updater
|
|
|
140
142
|
npx cap sync
|
|
141
143
|
```
|
|
142
144
|
|
|
145
|
+
### Install a specific version
|
|
146
|
+
|
|
147
|
+
Use npm tags to install the version matching your Capacitor version:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
# For Capacitor 8 (latest)
|
|
151
|
+
npm install @capgo/capacitor-updater@latest
|
|
152
|
+
|
|
153
|
+
# For Capacitor 7
|
|
154
|
+
npm install @capgo/capacitor-updater@lts-v7
|
|
155
|
+
|
|
156
|
+
# For Capacitor 6
|
|
157
|
+
npm install @capgo/capacitor-updater@lts-v6
|
|
158
|
+
|
|
159
|
+
# For Capacitor 5
|
|
160
|
+
npm install @capgo/capacitor-updater@lts-v5
|
|
161
|
+
```
|
|
162
|
+
|
|
143
163
|
## Auto-update setup
|
|
144
164
|
|
|
145
165
|
Create your account in [capgo.app](https://capgo.app) and get your [API key](https://console.capgo.app/dashboard/apikeys)
|
|
@@ -84,7 +84,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
84
84
|
private static final String[] BREAKING_EVENT_NAMES = { "breakingAvailable", "majorAvailable" };
|
|
85
85
|
private static final String LAST_FAILED_BUNDLE_PREF_KEY = "CapacitorUpdater.lastFailedBundle";
|
|
86
86
|
|
|
87
|
-
private final String pluginVersion = "8.41.
|
|
87
|
+
private final String pluginVersion = "8.41.12";
|
|
88
88
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
89
89
|
|
|
90
90
|
private SharedPreferences.Editor editor;
|
|
@@ -60,7 +60,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
60
60
|
CAPPluginMethod(name: "completeFlexibleUpdate", returnType: CAPPluginReturnPromise)
|
|
61
61
|
]
|
|
62
62
|
public var implementation = CapgoUpdater()
|
|
63
|
-
private let pluginVersion: String = "8.41.
|
|
63
|
+
private let pluginVersion: String = "8.41.12"
|
|
64
64
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
65
65
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
66
66
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|