@@ -130,32 +130,37 @@ complete re-branding/private labeling, a more personalised experience can be ach
130
130
6 . `mobile_builds`: Optional. Like `desktop_builds`, except for the mobile apps. Also described in more detail down below.
131
131
7 . `mobile_guide_toast`: When `true` (default), users accessing the Element Web instance from a mobile device will be prompted to
132
132
download the app instead.
133
- 8 . `update_base_url`: For the desktop app only, the URL where to acquire update packages. If specified, must be a path to a directory
133
+ 8 . `mobile_guide_app_variant`: Optional. The mobile app that the user is prompted to download from the `/mobile_guide` page. When omitted
134
+ the mobile guide will be configured for the new Element X apps. Allowed values are as follows:
135
+ 1 . `classic`: Element Android/iOS.
136
+ 2 . `x`: Element X Android/iOS.
137
+ 3 . `pro`: Element Pro Android/iOS.
138
+ 9 . `update_base_url`: For the desktop app only, the URL where to acquire update packages. If specified, must be a path to a directory
134
139
containing `macos` and `win32` directories, with the update packages within. Defaults to `https://packages.element.io/desktop/update/`
135
140
in production.
136
- 9 . `map_style_url`: Map tile server style URL for location sharing. e.g. `https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE`
137
- This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
138
- at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
139
- configuration found in the well-known location is used instead.
140
- 10 . `welcome_user_id`: **DEPRECATED** An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
141
- 11 . `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
141
+ 10 . `map_style_url`: Map tile server style URL for location sharing. e.g. `https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE`
142
+ This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
143
+ at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
144
+ configuration found in the well-known location is used instead.
145
+ 11 . `welcome_user_id`: **DEPRECATED** An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
146
+ 12 . `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
142
147
`{"affected|translation|key": {"languageCode": "new string"}}`. See https://github.com/matrix-org/matrix-react-sdk/pull/7886 for details.
143
- 12 . `branding`: Options for configuring various assets used within the app. Described in more detail down below.
144
- 13 . `embedded_pages`: Further optional URLs for various assets used within the app. Described in more detail down below.
145
- 14 . `disable_3pid_login`: When `false` (default), **enables** the options to log in with email address or phone number. Set to
148
+ 13 . `branding`: Options for configuring various assets used within the app. Described in more detail down below.
149
+ 14 . `embedded_pages`: Further optional URLs for various assets used within the app. Described in more detail down below.
150
+ 15 . `disable_3pid_login`: When `false` (default), **enables** the options to log in with email address or phone number. Set to
146
151
`true` to hide these options.
147
- 15 . `disable_login_language_selector`: When `false` (default), **enables** the language selector on the login pages. Set to `true`
152
+ 16 . `disable_login_language_selector`: When `false` (default), **enables** the language selector on the login pages. Set to `true`
148
153
to hide this dropdown.
149
- 16 . `disable_guests`: When `false` (default), **enable** guest-related functionality (peeking/previewing rooms, etc) for unregistered
154
+ 17 . `disable_guests`: When `false` (default), **enable** guest-related functionality (peeking/previewing rooms, etc) for unregistered
150
155
users. Set to `true` to disable this functionality.
151
- 17 . `user_notice`: Optional notice to show to the user, e.g. for sunsetting a deployment and pushing users to move in their own time.
156
+ 18 . `user_notice`: Optional notice to show to the user, e.g. for sunsetting a deployment and pushing users to move in their own time.
152
157
Takes a configuration object as below:
153
158
1 . `title`: Required. Title to show at the top of the notice.
154
159
2 . `description`: Required. The description to use for the notice.
155
160
3 . `show_once`: Optional. If true then the notice will only be shown once per device.
156
- 18 . `help_url`: The URL to point users to for help with the app, defaults to `https://element.io/help`.
157
- 19 . `help_encryption_url`: The URL to point users to for help with encryption, defaults to `https://element.io/help#encryption`.
158
- 20 . `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key)
161
+ 19 . `help_url`: The URL to point users to for help with the app, defaults to `https://element.io/help`.
162
+ 20 . `help_encryption_url`: The URL to point users to for help with encryption, defaults to `https://element.io/help#encryption`.
163
+ 21 . `force_verification`: If true, users must verify new logins (eg. with another device / their recovery key)
159
164
160
165
### `desktop_builds` and `mobile_builds`
161
166
0 commit comments