Jump to top

ConfigSettings

interface

An Interface representing settable config settings.

Example

The example below makes use of the React Native __DEV__ global JavaScript variable which is exposed.

await firebase.remoteConfig().setConfigSettings({
  isDeveloperModeEnabled: __DEV__,
});

Properties

isDeveloperModeEnabled

</>

If enabled, default behaviour such as caching is disabled for a better debugging experience.

isDeveloperModeEnabled: boolean;

minimumFetchInterval

</>

The time that remote config should cache flags for.

minimumFetchInterval: undefined | number;