Skip to content

Commit eeb1ed4

Browse files
committed
fix: update docs to say it's case sensitive
1 parent a7591bf commit eeb1ed4

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,12 @@
2020
"src/content/plugins-tutorials/it": true,
2121
"src/content/plugins-tutorials/ja": true,
2222
"src/content/plugins-tutorials/ko": true,
23+
"src/content/docs/de": true,
24+
"src/content/docs/es": true,
25+
"src/content/docs/fr": true,
26+
"src/content/docs/id": true,
27+
"src/content/docs/it": true,
28+
"src/content/docs/ja": true,
29+
"src/content/docs/ko": true
2330
}
2431
}

src/content/docs/docs/live-updates/channels.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Next, build your web app and run `npx cap sync` to copy the updated config file
4747

4848
The `defaultChannel` property will always override the cloud default channel. But you can still force the deviceId to a channel in Cloud.
4949

50+
> The channel name is case sensitive
51+
5052
</Aside>
5153

5254

src/content/docs/docs/plugin/cloud-mode/channel-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Capgo and capacitor-updater comes with a powerful channel system.
1717
* Make the channel default, each time a new device asks Capgo for an update this channel will answer
1818
* Send the **deviceId** (with [**getDeviceId**](/docs/plugin/api#getdeviceid) method) to your backend and assign it with Capgo public API
1919
* Make the channel self-assignable (with [**setChannel**](/docs/plugin/api#setchannel) method), and let the device subscribe to the channel (with user interaction or not) with method `setChannel` of the plugin.
20-
* Use the option `defaultChannel` in the [config](/docs/plugin/settings#defaultchannel) to set the default channel for all devices with this plugin configuration.
20+
* Use the option `defaultChannel` in the [config](/docs/plugin/settings#defaultchannel) to set the default channel for all devices with this plugin configuration. The name is case sentive
2121

2222
:::note
2323
You can also assign a device directly to a bundle.

src/content/docs/docs/plugin/settings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ This setting require you to hide the app from the user while the update is being
224224
```
225225

226226
## `defaultChannel`
227-
Set the default channel for the app. This will override any other channel set in Capgo if the channel allows overwriting.
227+
Set the default channel for the app. This will override any other channel set in Capgo if the channel allows overwriting.
228+
229+
> The channel name is case sensitive
228230
229231
```json
230232
// capacitor.config.json

0 commit comments

Comments
 (0)