@capgo/capacitor-updater 3.3.9 → 3.3.10
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
|
@@ -24,10 +24,10 @@ npx cap sync
|
|
|
24
24
|
## Auto update setup
|
|
25
25
|
|
|
26
26
|
Create account in [capgo.app](https://capgo.app) and get your [API key](https://capgo.app/app/apikeys)
|
|
27
|
-
- Download the CLI `npm i -g capgo`
|
|
28
|
-
- Add app from CLI `capgo add -a API_KEY`
|
|
29
|
-
- Upload app `capgo upload -a API_KEY`
|
|
30
|
-
- Upload app `capgo set -a API_KEY -s public`
|
|
27
|
+
- Download the CLI `npm i -g @capgo/cli`
|
|
28
|
+
- Add app from CLI `npx @capgo/cli add -a API_KEY`
|
|
29
|
+
- Upload app `npx @capgo/cli upload -a API_KEY`
|
|
30
|
+
- Upload app `npx @capgo/cli set -a API_KEY -s public`
|
|
31
31
|
- Edit your `capacitor.config.json` like below, set `autoUpdate` to true.
|
|
32
32
|
```json
|
|
33
33
|
// capacitor.config.json
|
|
@@ -58,7 +58,7 @@ public class CapacitorUpdater {
|
|
|
58
58
|
|
|
59
59
|
public String appId = "";
|
|
60
60
|
public String deviceID = "";
|
|
61
|
-
public final String pluginVersion = "3.3.
|
|
61
|
+
public final String pluginVersion = "3.3.10";
|
|
62
62
|
public String statsUrl = "";
|
|
63
63
|
|
|
64
64
|
public CapacitorUpdater (final Context context) throws PackageManager.NameNotFoundException {
|