com.google.firebase.remoteconfig

Interfaces

ConfigUpdateListener

Event listener interface for real-time Remote Config updates.

ConfigUpdateListenerRegistration

Listener registration returned byaddOnConfigUpdateListener.

FirebaseRemoteConfigInfo

Wraps the current state of theFirebaseRemoteConfig singleton object.

FirebaseRemoteConfigValue

Wrapper for a Remote Config parameter value, with methods to get it as different types.

Classes

ConfigUpdate

Information about the updated config passed toonUpdate.

CustomSignals

A container type to represent key/value pairs of heterogeneous types to be set as custom signals insetCustomSignals.

CustomSignals.Builder

Builder for constructingCustomSignals instances.

FirebaseRemoteConfig

Entry point for the Firebase Remote Config API.

FirebaseRemoteConfigSettings

Wraps the settings forFirebaseRemoteConfig operations.

FirebaseRemoteConfigSettings.Builder

Builder for aFirebaseRemoteConfigSettings.

Exceptions

FirebaseRemoteConfigClientException

A Firebase Remote Config internal issue that isn't caused by an interaction with the Firebase Remote Config server.

FirebaseRemoteConfigException

Base class forFirebaseRemoteConfig exceptions.

FirebaseRemoteConfigFetchThrottledException

An exception thrown when afetch call is throttled.

FirebaseRemoteConfigServerException

A Firebase Remote Config internal issue caused by an interaction with the Firebase Remote Config server.

Enums

Top-level functions summary

Extension functions summary

operatorFirebaseRemoteConfigValue

See FirebaseRemoteConfig#getValue

FirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of a givenFirebaseApp.

Extension properties summary

Flow<ConfigUpdate>

Starts listening for config updates from the Remote Config backend and emitsConfigUpdates via aFlow.

FirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of the defaultFirebaseApp.

Top-level functions

customSignals

fun customSignals(builder: CustomSignals.Builder.()->Unit): CustomSignals

Extension functions

get

operator fun FirebaseRemoteConfig.get(key: String): FirebaseRemoteConfigValue

See FirebaseRemoteConfig#getValue

remoteConfig

fun Firebase.remoteConfig(app: FirebaseApp): FirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of a givenFirebaseApp.

Extension properties

configUpdates

val FirebaseRemoteConfig.configUpdatesFlow<ConfigUpdate>

Starts listening for config updates from the Remote Config backend and emitsConfigUpdates via aFlow. SeeFirebaseRemoteConfig.addOnConfigUpdateListener for more information.

  • When the returned flow starts being collected, anConfigUpdateListener will be attached.

  • When the flow completes, the listener will be removed. If there are no attached listeners, the connection to the Remote Config backend will be closed.

remoteConfig

val Firebase.remoteConfigFirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of the defaultFirebaseApp.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.