Package-level declarations

Types

Link copied to clipboard
external interface ConfigUpdate : JsAny
Link copied to clipboard
external interface ConfigUpdateObserver : JsAny

The { next, error, complete } object onConfigUpdate takes.

Link copied to clipboard
external interface RemoteConfig : JsAny
Link copied to clipboard
external interface Settings : JsAny
Link copied to clipboard
external interface Value : JsAny

Functions

Link copied to clipboard
external fun activate(remoteConfig: RemoteConfig): Promise<JsBoolean>
Link copied to clipboard
external fun ensureInitialized(remoteConfig: RemoteConfig): Promise<JsAny?>
Link copied to clipboard
external fun fetchAndActivate(remoteConfig: RemoteConfig): Promise<JsBoolean>
Link copied to clipboard
external fun fetchConfig(remoteConfig: RemoteConfig): Promise<JsAny?>
Link copied to clipboard
external fun getAll(remoteConfig: RemoteConfig): JsAny
Link copied to clipboard
external fun getBoolean(remoteConfig: RemoteConfig, key: String): Boolean
Link copied to clipboard
external fun getNumber(remoteConfig: RemoteConfig, key: String): Double
Link copied to clipboard
external fun getRemoteConfig(app: FirebaseApp? = definedExternally): RemoteConfig
Link copied to clipboard
external fun getString(remoteConfig: RemoteConfig, key: String): String?
Link copied to clipboard
external fun getValue(remoteConfig: RemoteConfig, key: String): Value
Link copied to clipboard
external fun onConfigUpdate(remoteConfig: RemoteConfig, observer: ConfigUpdateObserver): () -> Unit
Link copied to clipboard
external fun setCustomSignals(remoteConfig: RemoteConfig, customSignals: JsAny): Promise<JsAny?>