Back to Firebase Js Sdk

FirebaseAppSettings interface

docs-devsite/app.firebaseappsettings.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 %}

FirebaseAppSettings interface

Configuration options given to initializeApp()

<b>Signature:</b>

typescript
export interface FirebaseAppSettings 

Properties

PropertyTypeDescription
automaticDataCollectionEnabledbooleanThe settable config flag for GDPR opt-in/opt-out. Defaults to true.
namestringcustom name for the Firebase App. The default value is <code>"[DEFAULT]"</code>.

FirebaseAppSettings.automaticDataCollectionEnabled

The settable config flag for GDPR opt-in/opt-out. Defaults to true.

<b>Signature:</b>

typescript
automaticDataCollectionEnabled?: boolean;

FirebaseAppSettings.name

custom name for the Firebase App. The default value is "[DEFAULT]"<!-- -->.

<b>Signature:</b>

typescript
name?: string;