Back to Firebase Js Sdk

RemoteConfigOptions interface

docs-devsite/remote-config.remoteconfigoptions.md

12.12.11.3 KB
Original Source

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 %}

RemoteConfigOptions interface

Options for Remote Config initialization.

<b>Signature:</b>

typescript
export interface RemoteConfigOptions 

Properties

PropertyTypeDescription
initialFetchResponseFetchResponseHydrates the state with an initial fetch response.
templateIdstringThe ID of the template to use. If not provided, defaults to "firebase".

RemoteConfigOptions.initialFetchResponse

Hydrates the state with an initial fetch response.

<b>Signature:</b>

typescript
initialFetchResponse?: FetchResponse;

RemoteConfigOptions.templateId

The ID of the template to use. If not provided, defaults to "firebase".

<b>Signature:</b>

typescript
templateId?: string;