docs-devsite/remote-config.remoteconfig.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
The Firebase Remote Config service interface.
<b>Signature:</b>
export interface RemoteConfig
| Property | Type | Description |
|---|---|---|
| app | FirebaseApp | The FirebaseApp this <code>RemoteConfig</code> 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 <i>successful</i> fetch, or negative one if the RemoteConfig instance either hasn't fetched or initialization is incomplete. |
| lastFetchStatus | FetchStatus | The status of the last fetch <i>attempt</i>. |
| settings | RemoteConfigSettings | Defines configuration for the Remote Config SDK. |
The FirebaseApp this RemoteConfig instance is associated with.
<b>Signature:</b>
app: FirebaseApp;
Object containing default values for configs.
<b>Signature:</b>
defaultConfig: {
[key: string]: string | number | boolean;
};
The Unix timestamp in milliseconds of the last <i>successful</i> fetch, or negative one if the RemoteConfig instance either hasn't fetched or initialization is incomplete.
<b>Signature:</b>
fetchTimeMillis: number;
The status of the last fetch <i>attempt</i>.
<b>Signature:</b>
lastFetchStatus: FetchStatus;
Defines configuration for the Remote Config SDK.
<b>Signature:</b>
settings: RemoteConfigSettings;