-
Notifications
You must be signed in to change notification settings - Fork 117
add on
github-actions edited this page Jul 11, 2022
·
12 revisions
TBD
The condition object contains the following properties:
Property | Description | Type | Required |
---|---|---|---|
enabled_features | An array of features to be enabled | Array of string | No |
env | A string to match a particular env: staging, production | No | |
locales | An array of locales to be checked | Array of string | No |
min_client_version | The min client version | String | No |
max_client_version | The max client version | String | No |
platforms | An array of platforms to be checked | Array of string | No |
settings | An array of Condition Setting object. See below | Array of Condition Setting object | No |
trigger_time | A number identifying the number of seconds from the first execution of the client | No |
When a setting must be checked as a condition, the JSON object must contain the following properties:
Property | Description | Type | Required |
---|---|---|---|
setting | The name of the setting key | String | Yes |
value | The value of the setting key | String | Yes |
op | The compare operator: eq or neq | String | Yes |
The list of setting keys can be found here: https://github.com/mozilla-mobile/mozilla-vpn-client/blob/main/src/settingslist.h