IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released 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.
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.
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.
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.
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.
[null,null,["Last updated 2025-07-21 UTC."],[],[],null,["# com.google.firebase.remoteconfig.ktx\n====================================\n\nTop-level functions summary\n---------------------------\n\n|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FirebaseRemoteConfigSettings](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfigSettings) | [remoteConfigSettings](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#remoteConfigSettings(kotlin.Function1))`(init: `[FirebaseRemoteConfigSettings.Builder](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfigSettings.Builder)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n\nExtension functions summary\n---------------------------\n\n|---------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `operator `[FirebaseRemoteConfigValue](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfigValue) | [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig)`.`~~[get](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#(com.google.firebase.remoteconfig.FirebaseRemoteConfig).get(kotlin.String))~~`(key: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` **This function is deprecated.** Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |\n| [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig) | [Firebase](/docs/reference/kotlin/com/google/firebase/ktx/Firebase)`.`[remoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#(com.google.firebase.ktx.Firebase).remoteConfig(com.google.firebase.FirebaseApp))`(app: `[FirebaseApp](/docs/reference/kotlin/com/google/firebase/FirebaseApp)`)` Accessing this object for Kotlin apps has changed; see the [migration guide](https://firebase.google.com/docs/android/kotlin-migration). |\n\nExtension properties summary\n----------------------------\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Flow](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html)`\u003c`[ConfigUpdate](/docs/reference/kotlin/com/google/firebase/remoteconfig/ConfigUpdate)`\u003e` | [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig)`.`[configUpdates](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#(com.google.firebase.remoteconfig.FirebaseRemoteConfig).configUpdates()) **This property is deprecated.** Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |\n| [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig) | [Firebase](/docs/reference/kotlin/com/google/firebase/ktx/Firebase)`.`[remoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#(com.google.firebase.ktx.Firebase).remoteConfig()) Accessing this object for Kotlin apps has changed; see the [migration guide](https://firebase.google.com/docs/android/kotlin-migration). |\n\nTop-level functions\n-------------------\n\n### remoteConfigSettings\n\n```\nfun remoteConfigSettings(init: FirebaseRemoteConfigSettings.Builder.() -\u003e Unit): FirebaseRemoteConfigSettings\n```\n\nExtension functions\n-------------------\n\n### get\n\n```\noperator fun FirebaseRemoteConfig.[get](/docs/reference/kotlin/com/google/firebase/remoteconfig/ktx/package-summary#(com.google.firebase.remoteconfig.FirebaseRemoteConfig).get(kotlin.String))(key: String): FirebaseRemoteConfigValue\n```\n| **This function is deprecated.** \n| Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.\n\nSee FirebaseRemoteConfig#getValue\n\n**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.](https://firebase.google.com/docs/android/kotlin-migration) \n\n### remoteConfig\n\n```\nfun Firebase.remoteConfig(app: FirebaseApp): FirebaseRemoteConfig\n```\n\nAccessing this object for Kotlin apps has changed; see the [migration guide](https://firebase.google.com/docs/android/kotlin-migration).\n\nReturns the [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig) instance of a given [FirebaseApp](/docs/reference/kotlin/com/google/firebase/FirebaseApp).\n\n**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.](https://firebase.google.com/docs/android/kotlin-migration)\n\nExtension properties\n--------------------\n\n### configUpdates\n\n```\nval FirebaseRemoteConfig.configUpdates: Flow\u003cConfigUpdate\u003e\n```\n| **This property is deprecated.** \n| Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.\n\nStarts listening for config updates from the Remote Config backend and emits [ConfigUpdate](/docs/reference/kotlin/com/google/firebase/remoteconfig/ConfigUpdate)s via a [Flow](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html). See [FirebaseRemoteConfig.addOnConfigUpdateListener](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig#addOnConfigUpdateListener(com.google.firebase.remoteconfig.ConfigUpdateListener)) for more information.\n\n- When the returned flow starts being collected, an [ConfigUpdateListener](/docs/reference/kotlin/com/google/firebase/remoteconfig/ConfigUpdateListener) will be attached.\n\n- 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.\n\n**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.](https://firebase.google.com/docs/android/kotlin-migration) \n\n### remoteConfig\n\n```\nval Firebase.remoteConfig: FirebaseRemoteConfig\n```\n\nAccessing this object for Kotlin apps has changed; see the [migration guide](https://firebase.google.com/docs/android/kotlin-migration).\n\nReturns the [FirebaseRemoteConfig](/docs/reference/kotlin/com/google/firebase/remoteconfig/FirebaseRemoteConfig) instance of the default [FirebaseApp](/docs/reference/kotlin/com/google/firebase/FirebaseApp).\n\n**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.](https://firebase.google.com/docs/android/kotlin-migration)"]]