FirebaseRemoteConfig
The entry point of Firebase Remote Config, as the Android SDK's com.google.firebase.remoteconfig.FirebaseRemoteConfig.
Types
Properties
The active values: the defaults, overridden by the activated remote values (the iOS SDK keeps them per source).
All active values, keyed by parameter name.
Real-time config updates as a Flow; each emission means the backend has a newer config to fetch and activate.
The state of the most recent fetch and the current settings.
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
Functions
Makes the most recently fetched config available to the getters; true if it changed the active config.
Starts listening for real-time config updates; ConfigUpdateListenerRegistration.remove stops them.
Fetches config from the backend, honouring the configured minimum fetch interval.
Fetches config from the backend, if the cached config is older than minimumFetchIntervalInSeconds.
The JS SDK has no per-call interval: this is the same as fetch.
The active value of key; see FirebaseRemoteConfig.getValue.
The active value of key as a double, or DEFAULT_VALUE_FOR_DOUBLE.
The iOS SDK's keysWithPrefix only looks at the active config, so the defaults are included like the Android SDK does.
The active keys starting with prefix.
The active value of key as a string, or DEFAULT_VALUE_FOR_STRING.
The iOS SDK has no reset: the defaults are cleared and the settings restored, but the activated values stay, as the SDK exposes no way to drop them.
Clears the fetched, active and default config and the settings. The Apple and JS SDKs expose no way to drop the activated values, so there only the defaults are cleared and the settings restored.
The JS SDK has no reset: the defaults are cleared and the settings restored, but the activated values stay, as the SDK exposes no way to drop them.
Applies settings.
Sets the custom signals sent with fetches, which the backend can target conditions on; a null value removes a signal.
Android-only: reads the defaults from an XML resource.
Sets the default values, used until a fetched config is activated and for keys the backend does not set.