UNPKG

voluptasmollitia

Version:
27 lines (15 loc) 814 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/remote-config](./remote-config.md) &gt; [activate](./remote-config.activate.md) ## activate() function Makes the last fetched config available to the getters. <b>Signature:</b> ```typescript export declare function activate(remoteConfig: RemoteConfig): Promise<boolean>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | remoteConfig | [RemoteConfig](./remote-config.remoteconfig.md) | The <code>RemoteConfig</code> instance. | <b>Returns:</b> Promise&lt;boolean&gt; A promise which resolves to true if the current call activated the fetched configs. If the fetched configs were already activated, the promise will resolve to false.