@capgo/capacitor-updater 5.0.7 → 5.0.9
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
|
@@ -337,7 +337,7 @@ Get Latest bundle available from update Url
|
|
|
337
337
|
setChannel(options: SetChannelOptions) => Promise<channelRes>
|
|
338
338
|
```
|
|
339
339
|
|
|
340
|
-
Set Channel for this device
|
|
340
|
+
Set Channel for this device, the channel have to allow self assignement to make this work
|
|
341
341
|
|
|
342
342
|
| Param | Type | Description |
|
|
343
343
|
| ------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
@@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin
|
|
|
55
55
|
private static final String channelUrlDefault =
|
|
56
56
|
"https://api.capgo.app/channel_self";
|
|
57
57
|
|
|
58
|
-
private final String PLUGIN_VERSION = "5.0.
|
|
58
|
+
private final String PLUGIN_VERSION = "5.0.9";
|
|
59
59
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
60
60
|
|
|
61
61
|
private SharedPreferences.Editor editor;
|
package/dist/docs.json
CHANGED
|
@@ -344,7 +344,7 @@ export interface CapacitorUpdaterPlugin {
|
|
|
344
344
|
*/
|
|
345
345
|
getLatest(): Promise<latestVersion>;
|
|
346
346
|
/**
|
|
347
|
-
* Set Channel for this device
|
|
347
|
+
* Set Channel for this device, the channel have to allow self assignement to make this work
|
|
348
348
|
*
|
|
349
349
|
* @returns {Promise<channelRes>} an Promise resolved when channel is set
|
|
350
350
|
* @param options is the {@link SetChannelOptions} channel to set
|
|
@@ -15,7 +15,7 @@ import Version
|
|
|
15
15
|
@objc(CapacitorUpdaterPlugin)
|
|
16
16
|
public class CapacitorUpdaterPlugin: CAPPlugin {
|
|
17
17
|
private var implementation = CapacitorUpdater()
|
|
18
|
-
private let PLUGIN_VERSION: String = "5.0.
|
|
18
|
+
private let PLUGIN_VERSION: String = "5.0.9"
|
|
19
19
|
static let updateUrlDefault = "https://api.capgo.app/updates"
|
|
20
20
|
static let statsUrlDefault = "https://api.capgo.app/stats"
|
|
21
21
|
static let channelUrlDefault = "https://api.capgo.app/channel_self"
|
package/package.json
CHANGED