You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
503 B
11 lines
503 B
6 years ago
|
# Secret Preferences
|
||
|
|
||
|
Sometimes we want to test a feature in the wild that may not be ready for public consumption.
|
||
|
|
||
|
One example is our "sync with mobile" feature, which didn't make sense to roll out before the mobile version was live.
|
||
|
|
||
|
To enable features like this, first open the background console, and then you can use the global method `global.setPreference(key, value)`.
|
||
|
|
||
|
For example, if the feature flag was a booelan was called `mobileSync`, you might type `setPreference('mobileSync', true)`.
|
||
|
|