RemoteConfigClient

Remote config client — decoupled from any specific provider (Firebase Remote Config, LaunchDarkly, etc.).

Suggested resolution order for value: local override (debug builds only) -> fetched remote value -> the key's compiled-in default.

Functions

Link copied to clipboard

All known keys with their effective values (for a debug screen).

Link copied to clipboard
abstract suspend fun fetchAndActivate()

Fetch remote values and activate them. Call once at app launch.

Link copied to clipboard
abstract fun value(key: ConfigKey): ConfigValue

Resolve the effective value for a key (sync, from cache).