@capgo/capacitor-updater 7.2.12 → 7.2.13
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
|
@@ -20,20 +20,36 @@
|
|
|
20
20
|
<h2><a href="https://capgo.app/consulting/?ref=plugin"> Fix your annoying bug now, Hire a Capacitor expert 💪</a></h2>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Capacitor plugin to update your app remotely in real-time.
|
|
24
|
+
|
|
25
|
+
Open-source Alternative to Appflow, Codepush or Capawesome
|
|
26
|
+
|
|
27
|
+
## Features
|
|
28
|
+
|
|
29
|
+
- 🔋 Supports **Android and iOS**
|
|
30
|
+
- ⚡️ **Capacitor 7** support
|
|
31
|
+
- 🔄 **Auto Update**: Automatically download and set the latest bundle for the app.
|
|
32
|
+
- ☁️ **Cloud Support**: Use the [Capgo Cloud](https://capgo.app/) to manage your app updates.
|
|
33
|
+
- 📦 **Bundle Management**: Download, set, and delete bundles.
|
|
34
|
+
- 📺 **Channel Support**: Set a channel for the app to manage different versions.
|
|
35
|
+
- 🛟 **Rollback**: Reset the app to any bundle if an incompatible bundle has been set.
|
|
36
|
+
- 🔁 **Delta Updates**: Make instant updates by only downloading changed files.
|
|
37
|
+
- 🔒 **Security**: Encrypt and sign each updates with best in class security standards.
|
|
38
|
+
- ⚔️ **Battle-Tested**: Used in more than 2000 projects.
|
|
39
|
+
- 🌐 **Open Source**: Licensed under the Mozilla Public License 2.0
|
|
40
|
+
- 🌐 **Open Source Backend**: Self install [our backend](https://github.com/Cap-go/capgo) in your infra
|
|
24
41
|
|
|
25
42
|
You have 3 ways possible :
|
|
26
43
|
- Use [capgo.app](https://capgo.app) a full featured auto-update system in 5 min Setup, to manage version, update, revert and see stats.
|
|
27
44
|
- Use your own server update with auto-update system
|
|
28
45
|
- Use manual methods to zip, upload, download, from JS to do it when you want.
|
|
29
46
|
|
|
47
|
+
## Documentation
|
|
48
|
+
The most complete [documentation here](https://capgo.app/docs/).
|
|
30
49
|
|
|
31
50
|
## Community
|
|
32
51
|
Join the [discord](https://discord.gg/VnYRvBfgA6) to get help.
|
|
33
52
|
|
|
34
|
-
## Documentation
|
|
35
|
-
I maintain a more user-friendly and complete [documentation here](https://capgo.app/docs/).
|
|
36
|
-
|
|
37
53
|
## Migration to v7
|
|
38
54
|
|
|
39
55
|
- `privateKey` is not available anymore, it was used for the old encryption method. to migrate follow this guide : [https://capgo.app/docs/plugin/cloud-mode/getting-started/](https://capgo.app/docs/cli/migrations/encryption/)
|
|
@@ -81,6 +97,10 @@ We recommend to declare [`CA92.1`](https://developer.apple.com/documentation/bun
|
|
|
81
97
|
|
|
82
98
|
## Installation
|
|
83
99
|
|
|
100
|
+
Step by step here: [Getting started](https://capgo.app/docs/getting-started/add-an-app/)
|
|
101
|
+
|
|
102
|
+
Or
|
|
103
|
+
|
|
84
104
|
```bash
|
|
85
105
|
npm install @capgo/capacitor-updater
|
|
86
106
|
npx cap sync
|
|
@@ -95,7 +115,7 @@ And follow the steps by step to setup your app.
|
|
|
95
115
|
For detailed instructions on the auto-update setup, refer to the [Auto update documentation](https://capgo.app/docs/plugin/cloud-mode/getting-started/).
|
|
96
116
|
|
|
97
117
|
|
|
98
|
-
##
|
|
118
|
+
## No Cloud setup
|
|
99
119
|
|
|
100
120
|
Download update distribution zipfiles from a custom URL. Manually control the entire update process.
|
|
101
121
|
|
|
@@ -57,7 +57,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
57
57
|
private static final String statsUrlDefault = "https://plugin.capgo.app/stats";
|
|
58
58
|
private static final String channelUrlDefault = "https://plugin.capgo.app/channel_self";
|
|
59
59
|
|
|
60
|
-
private final String PLUGIN_VERSION = "7.2.
|
|
60
|
+
private final String PLUGIN_VERSION = "7.2.13";
|
|
61
61
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
62
62
|
|
|
63
63
|
private SharedPreferences.Editor editor;
|
|
@@ -45,7 +45,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
45
45
|
CAPPluginMethod(name: "getNextBundle", returnType: CAPPluginReturnPromise)
|
|
46
46
|
]
|
|
47
47
|
public var implementation = CapacitorUpdater()
|
|
48
|
-
private let PLUGIN_VERSION: String = "7.2.
|
|
48
|
+
private let PLUGIN_VERSION: String = "7.2.13"
|
|
49
49
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
50
50
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
51
51
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|