@capgo/capacitor-updater 3.3.9 → 3.3.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
|
@@ -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
|
-
-
|
|
28
|
-
- Add app
|
|
29
|
-
- Upload app `capgo upload -
|
|
30
|
-
-
|
|
27
|
+
- Login to CLI `npx @capgo/cli login API_KEY`
|
|
28
|
+
- Add app with CLI `npx @capgo/cli add`
|
|
29
|
+
- Upload app to channel production `npx @capgo/cli upload -c production`
|
|
30
|
+
- Set channel production public `npx @capgo/cli set -c production -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.12";
|
|
62
62
|
public String statsUrl = "";
|
|
63
63
|
|
|
64
64
|
public CapacitorUpdater (final Context context) throws PackageManager.NameNotFoundException {
|