RemoteConfig interface

The Firebase Remote Config service interface.

Signature:

export interface RemoteConfig 

Properties

Property Type Description
app FirebaseApp The FirebaseApp this RemoteConfig instance is associated with.
defaultConfig { [key: string]: string | number | boolean; } Object containing default values for configs.
fetchTimeMillis number The Unix timestamp in milliseconds of the last successful fetch, or negative one if the RemoteConfig instance either hasn't fetched or initialization is incomplete.
lastFetchStatus FetchStatus The status of the last fetch attempt.
settings RemoteConfigSettings Defines configuration for the Remote Config SDK.

RemoteConfig.app

The FirebaseApp this RemoteConfig instance is associated with.

Signature:

app: FirebaseApp;

RemoteConfig.defaultConfig

Object containing default values for configs.

Signature:

defaultConfig: {
        [key: string]: string | number | boolean;
    };

RemoteConfig.fetchTimeMillis

The Unix timestamp in milliseconds of the last successful fetch, or negative one if the RemoteConfig instance either hasn't fetched or initialization is incomplete.

Signature:

fetchTimeMillis: number;

RemoteConfig.lastFetchStatus

The status of the last fetch attempt.

Signature:

lastFetchStatus: FetchStatus;

RemoteConfig.settings

Defines configuration for the Remote Config SDK.

Signature:

settings: RemoteConfigSettings;