@capgo/capacitor-updater 8.43.5 → 8.43.6
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
|
@@ -50,7 +50,7 @@ Perfect for fixing bugs immediately, A/B testing features, and maintaining contr
|
|
|
50
50
|
- ⚔️ **Battle-Tested**: Used in more than 3000 projects.
|
|
51
51
|
- 📊 View your deployment statistics
|
|
52
52
|
- 🔋 Supports Android and iOS
|
|
53
|
-
- ⚡️ Capacitor 6/7 support
|
|
53
|
+
- ⚡️ Capacitor 4/5/6/7/8 support
|
|
54
54
|
- 🌐 **Open Source**: Licensed under the Mozilla Public License 2.0
|
|
55
55
|
- 🌐 **Open Source Backend**: Self install [our backend](https://github.com/Cap-go/capgo) in your infra
|
|
56
56
|
|
|
@@ -96,11 +96,11 @@ Starting from v8, the plugin uses [ZIPFoundation](https://github.com/weichsel/ZI
|
|
|
96
96
|
| v7.\*.\* | v7.\*.\* | ✅ |
|
|
97
97
|
| v6.\*.\* | v6.\*.\* | ✅ |
|
|
98
98
|
| v5.\*.\* | v5.\*.\* | ✅ |
|
|
99
|
-
| v4.\*.\* | v4.\*.\* |
|
|
99
|
+
| v4.\*.\* | v4.\*.\* | ✅ |
|
|
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.
|
|
103
|
+
> **Note:** Versions 4, 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
104
|
|
|
105
105
|
### iOS
|
|
106
106
|
|
|
@@ -158,6 +158,9 @@ npm install @capgo/capacitor-updater@lts-v6
|
|
|
158
158
|
|
|
159
159
|
# For Capacitor 5
|
|
160
160
|
npm install @capgo/capacitor-updater@lts-v5
|
|
161
|
+
|
|
162
|
+
# For Capacitor 4
|
|
163
|
+
npm install @capgo/capacitor-updater@lts-v4
|
|
161
164
|
```
|
|
162
165
|
|
|
163
166
|
## Auto-update setup
|
|
@@ -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.43.
|
|
87
|
+
private final String pluginVersion = "8.43.6";
|
|
88
88
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
89
89
|
|
|
90
90
|
private SharedPreferences.Editor editor;
|
|
@@ -72,7 +72,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
72
72
|
CAPPluginMethod(name: "completeFlexibleUpdate", returnType: CAPPluginReturnPromise)
|
|
73
73
|
]
|
|
74
74
|
public var implementation = CapgoUpdater()
|
|
75
|
-
private let pluginVersion: String = "8.43.
|
|
75
|
+
private let pluginVersion: String = "8.43.6"
|
|
76
76
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
77
77
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
78
78
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|