Options for Remote Config initialization.
Signature:
export interface RemoteConfigOptions
Properties
| Property | Type | Description |
|---|---|---|
| initialFetchResponse | FetchResponse | Hydrates the state with an initial fetch response. |
| templateId | string | The ID of the template to use. If not provided, defaults to "firebase". |
RemoteConfigOptions.initialFetchResponse
Remote Config server-side rendering (SSR) hydration is no longer supported. This option will be removed in a future major release.
Hydrates the state with an initial fetch response.
Signature:
initialFetchResponse?: FetchResponse;
RemoteConfigOptions.templateId
Fetching server templates from client apps is not supported. Server templates (
"firebase-server") can only be read by the Admin SDK and are rejected by client fetch and real-time requests. This option will be removed in a future major release.
The ID of the template to use. If not provided, defaults to "firebase".
Signature:
templateId?: string;