You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-devsite/remote-config.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ The Firebase Remote Config Web SDK. This SDK does not work in a Node.js environm
28
28
|[getNumber(remoteConfig, key)](./remote-config.md#getnumber_476c09f)| Gets the value for the given key as a number.<!---->Convenience method for calling <code>remoteConfig.getValue(key).asNumber()</code>. |
29
29
|[getString(remoteConfig, key)](./remote-config.md#getstring_476c09f)| Gets the value for the given key as a string. Convenience method for calling <code>remoteConfig.getValue(key).asString()</code>. |
30
30
|[getValue(remoteConfig, key)](./remote-config.md#getvalue_476c09f)| Gets the [Value](./remote-config.value.md#value_interface) for the given key. |
31
+
|[setCustomSignals(remoteConfig, customSignals)](./remote-config.md#setcustomsignals_aeeb95e)| Sets the custom signals for the app instance. |
31
32
|[setLogLevel(remoteConfig, logLevel)](./remote-config.md#setloglevel_039a45b)| Defines the log level to use. |
32
33
| <b>function()</b> |
33
34
|[isSupported()](./remote-config.md#issupported)| This method provides two different checks:<!---->1. Check if IndexedDB exists in the browser environment. 2. Check if the current browser context allows IndexedDB <code>open()</code> calls. |
@@ -36,6 +37,7 @@ The Firebase Remote Config Web SDK. This SDK does not work in a Node.js environm
36
37
37
38
| Interface | Description |
38
39
| --- | --- |
40
+
|[CustomSignals](./remote-config.customsignals.md#customsignals_interface)| Defines the type for representing custom signals and their values.<p>The values in CustomSignals must be one of the following types:<ul> <li><code>string</code> <li><code>number</code> </ul> |
39
41
|[RemoteConfig](./remote-config.remoteconfig.md#remoteconfig_interface)| The Firebase Remote Config service interface. |
40
42
|[RemoteConfigSettings](./remote-config.remoteconfigsettings.md#remoteconfigsettings_interface)| Defines configuration options for the Remote Config SDK. |
41
43
|[Value](./remote-config.value.md#value_interface)| Wraps a value with metadata and type-safe getters. |
@@ -276,6 +278,27 @@ export declare function getValue(remoteConfig: RemoteConfig, key: string): Value
| remoteConfig |[RemoteConfig](./remote-config.remoteconfig.md#remoteconfig_interface)| The [RemoteConfig](./remote-config.remoteconfig.md#remoteconfig_interface) instance. |
296
+
| customSignals |[CustomSignals](./remote-config.customsignals.md#customsignals_interface)| Map (key, value) of the custom signals to be set for the app instance. |
0 commit comments