RemoteConfigKt

public final classRemoteConfigKt


Summary

Public fields

final @NonNullFlow<@NonNullConfigUpdate>

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

final @NonNullFirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of the defaultFirebaseApp.

Public methods

static final @NonNullCustomSignals
static final @NonNullFirebaseRemoteConfigValue

See FirebaseRemoteConfig#getValue

static final @NonNullFirebaseRemoteConfig

Returns theFirebaseRemoteConfig instance of a givenFirebaseApp.

static final @NonNullFirebaseRemoteConfigSettings

Public fields

configUpdates

public final @NonNullFlow<@NonNullConfigUpdateconfigUpdates

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

public final @NonNullFirebaseRemoteConfig remoteConfig

Returns theFirebaseRemoteConfig instance of the defaultFirebaseApp.

Public methods

customSignals

public static final @NonNullCustomSignals customSignals(
    @ExtensionFunctionType @NonNull Function1<@NonNullCustomSignals.BuilderUnit> builder
)

RemoteConfigKt.get

public static final @NonNullFirebaseRemoteConfigValue RemoteConfigKt.get(
    @NonNullFirebaseRemoteConfig receiver,
    @NonNullString key
)

See FirebaseRemoteConfig#getValue

RemoteConfigKt.remoteConfig

public static final @NonNullFirebaseRemoteConfig RemoteConfigKt.remoteConfig(
    @NonNullFirebase receiver,
    @NonNullFirebaseApp app
)

Returns theFirebaseRemoteConfig instance of a givenFirebaseApp.

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.