React Native Firebase
    Preparing search index...

    Module @react-native-firebase/remote-config

    Functions

    activate

    Returns a Boolean which resolves to true if the current call activated the fetched configs.

    ensureInitialized

    Ensures the last activated config are available to the getters.

    fetch

    Fetches parameter values for your app.

    fetchAndActivate

    Performs a fetch and returns a Boolean which resolves to true if the current call activated the fetched configs.

    fetchConfig

    Fetches and caches configuration from the Remote Config service.

    fetchTimeMillis

    Indicates the default value in milliseconds to abandon a pending fetch request made to the Remote Config server. Defaults to 60000 (One minute).

    getAll

    Gets all config.

    getBoolean

    Gets the value for the given key as a boolean.

    getNumber

    Gets the value for the given key as a number.

    getRemoteConfig

    Returns a RemoteConfig instance for the given app.

    getString

    Gets the value for the given key as a string.

    getValue

    Gets the value for the given key

    isSupported

    Checks two different things.

    1. Check if IndexedDB exists in the browser environment.
    2. Check if the current browser context allows IndexedDB open() calls.
    lastFetchStatus

    The status of the latest Remote RemoteConfig fetch action.

    onConfigUpdate

    Starts listening for real-time config updates from the Remote Config backend and automatically fetches updates from the Remote Config backend when they are available.

    onConfigUpdated

    Registers a listener to changes in the configuration.

    reset

    Deletes all activated, fetched and defaults configs and resets all Firebase Remote Config settings. Android only. iOS does not reset anything.

    setConfigSettings

    Set the Remote RemoteConfig settings, currently able to set fetchTimeMillis & minimumFetchIntervalMillis

    setCustomSignals

    Sets the custom signals for the app instance.

    setDefaults

    Fetches parameter values for your app.

    setDefaultsFromResource

    Fetches parameter values for your app.

    setLogLevel

    Defines the log level to use.

    settings

    Returns a ConfigSettings object which provides the properties minimumFetchIntervalMillis & fetchTimeMillis if they have been set using setConfigSettings({ fetchTimeMillis: number, minimumFetchIntervalMillis: number }).

    Interfaces

    CustomSignals

    Defines the type for representing custom signals and their values. The values in CustomSignals must be one of the following types: string, number, or null. There are additional limitations on key and value length, for a full description see https://firebase.google.com/docs/remote-config/parameters?template_type=client#custom_signal_conditions Failing to stay within these limitations will result in a silent API failure with only a warning in device logs

    Namespaces

    FirebaseRemoteConfigTypes

    Firebase Remote RemoteConfig package for React Native.

    Variables

    default
    firebase
    LastFetchStatus
    ValueSource