aboutsummaryrefslogtreecommitdiffstats
path: root/docs/secret-preferences.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/secret-preferences.md')
-rw-r--r--docs/secret-preferences.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/secret-preferences.md b/docs/secret-preferences.md
new file mode 100644
index 000000000..f9d01a503
--- /dev/null
+++ b/docs/secret-preferences.md
@@ -0,0 +1,10 @@
+# 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)`.
+