Configure Feature Toggle
Explore how to configure and manage feature toggles using Firebase Remote Config and Svelte. Learn to control feature visibility by user segments, deploy safely to production, and maintain consistent user experiences. This lesson guides you through setting toggle conditions, testing, and organizing flags for effective feature rollout management.
Configuring feature toggles
The Firebase web console provides a feature-rich interface to create, configure, and manage config values, including our feature toggles. Head over to the Firebase web console and open your project.
- In the navigation, find the “Engage” section and click on “Remote Config”.
-
The user interface prompts you to type a Parameter key, type “feature_vip_welcome” (without quotes). This value has to match with the
Nameproperty we configured earlier in theFEATURE_TOGGLESobject atservices/web/src/feature-toggles/index.js. -
Type “off” as the Default value. This hides the VIP welcome feature by default. If you set this to “on”, it would be shown by default. In our case, we want “off” by default and “on” for a percentage of the web application ...