@capgo/capacitor-updater 8.49.2 → 8.49.3
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
|
@@ -79,7 +79,7 @@ First follow the migration guide of Capacitor:
|
|
|
79
79
|
- **Channel storage change**: `setChannel()` now stores channel assignments locally on the device instead of in the cloud. This provides better offline support and reduces backend load.
|
|
80
80
|
- Channel assignments persist between app restarts
|
|
81
81
|
- Use `unsetChannel()` to clear the local assignment and revert to `defaultChannel`
|
|
82
|
-
- Old devices (< v7.34.0)
|
|
82
|
+
- Old devices (< v7.34.0) use now a KV storage to prevent overload the primary DB of Capgo
|
|
83
83
|
- **New event**: Listen to the `channelPrivate` event to handle cases where a user tries to assign themselves to a private channel (one that doesn't allow self-assignment). See example in the `setChannel()` documentation above.
|
|
84
84
|
|
|
85
85
|
## Migration to v7
|
|
@@ -133,6 +133,20 @@ We recommend to declare [`CA92.1`](https://developer.apple.com/documentation/bun
|
|
|
133
133
|
|
|
134
134
|
## Installation
|
|
135
135
|
|
|
136
|
+
You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Then use the following prompt:
|
|
143
|
+
|
|
144
|
+
```text
|
|
145
|
+
Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-updater` plugin in my project.
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
|
|
149
|
+
|
|
136
150
|
Step by step here: [Getting started](https://capgo.app/docs/getting-started/add-an-app/)
|
|
137
151
|
|
|
138
152
|
Or
|
|
@@ -142,7 +142,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
142
142
|
static final int APPLICATION_EXIT_REASON_USER_REQUESTED = 10;
|
|
143
143
|
static final int APPLICATION_EXIT_REASON_DEPENDENCY_DIED = 12;
|
|
144
144
|
|
|
145
|
-
private final String pluginVersion = "8.49.
|
|
145
|
+
private final String pluginVersion = "8.49.3";
|
|
146
146
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
147
147
|
|
|
148
148
|
private SharedPreferences.Editor editor;
|
|
@@ -85,7 +85,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
85
85
|
CAPPluginMethod(name: "completeFlexibleUpdate", returnType: CAPPluginReturnPromise)
|
|
86
86
|
]
|
|
87
87
|
public var implementation = CapgoUpdater()
|
|
88
|
-
private let pluginVersion: String = "8.49.
|
|
88
|
+
private let pluginVersion: String = "8.49.3"
|
|
89
89
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
90
90
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
91
91
|
static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
|