The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

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.