Home > @firebase/remote-config > activate
activate() function
Makes the last fetched config available to the getters.
Signature:
export declare function activate(remoteConfig: RemoteConfig): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
remoteConfig | RemoteConfig | The RemoteConfig instance. |
Returns:
Promise<boolean>
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.