com.google.firebase.remoteconfig.ktx

Top-level functions summary

Extension functions summary

operator FirebaseRemoteConfigValue

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

FirebaseRemoteConfig

Accessing this object for Kotlin apps has changed; see the migration guide.

Extension properties summary

Flow<ConfigUpdate>

This property is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

FirebaseRemoteConfig

Accessing this object for Kotlin apps has changed; see the migration guide.

Top-level functions

Extension functions

get

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

See FirebaseRemoteConfig#getValue

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

remoteConfig

fun Firebase.remoteConfig(app: FirebaseApp): FirebaseRemoteConfig

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseRemoteConfig instance of a given FirebaseApp.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

Extension properties

configUpdates

val FirebaseRemoteConfig.configUpdatesFlow<ConfigUpdate>

Starts listening for config updates from the Remote Config backend and emits ConfigUpdates via a Flow. See FirebaseRemoteConfig.addOnConfigUpdateListener for more information.

  • When the returned flow starts being collected, an ConfigUpdateListener 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.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

remoteConfig

val Firebase.remoteConfigFirebaseRemoteConfig

Accessing this object for Kotlin apps has changed; see the migration guide.

Returns the FirebaseRemoteConfig instance of the default FirebaseApp.

Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.