Remote Config

React Native 6 min min read Updated: Aug 03, 2026 Advanced
Remote Config
Advanced Topic 10 of 18

Remote Config

Firebase Remote Config allows you to change your app’s behavior and appearance without requiring users to download an app update, enabling feature flags and A/B testing.

Installing Remote Config

bash npm install @react-native-firebase/remote-config

Setting Default Values

javascript import remoteConfig from '@react-native-firebase/remote-config'; await remoteConfig().setDefaults({ new_checkout_enabled: false, welcome_message: 'Welcome to the app!', });

Fetching and Activating Values

javascript await remoteConfig().fetchAndActivate(); const isNewCheckoutEnabled = remoteConfig().getValue('new_checkout_enabled').asBoolean();

Using Remote Config for Feature Flags

javascript {isNewCheckoutEnabled ? : }

Setting a Minimum Fetch Interval

javascript await remoteConfig().setConfigSettings({ minimumFetchIntervalMillis: 3600000 });

Running A/B Tests

Remote Config integrates with Firebase A/B Testing, allowing you to define experiment variants and automatically measure their impact on key metrics like conversion or retention.

Common Use Cases

  • Gradually rolling out new features to a percentage of users
  • Toggling features on or off without an app store update
  • A/B testing different UI copy or layouts

Conclusion

Firebase Remote Config provides powerful flexibility for dynamically controlling React Native app behavior and running experiments without requiring new app store submissions for every change.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators