Files
firebase-js-sdk/docs-devsite/app.firebaseappsettings.md
Christina HollandandGitHub 537b9a17bd Restore #8999 (#9010)
* Revert "Roll back #8999 (#9007)"

This reverts commit 205af1c98d.

* Changeset
2025-05-12 09:42:19 -07:00

1.3 KiB

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()

Signature:

export interface FirebaseAppSettings 

Properties

Property Type Description
automaticDataCollectionEnabled boolean The settable config flag for GDPR opt-in/opt-out. Defaults to true.
name string custom name for the Firebase App. The default value is "[DEFAULT]".

FirebaseAppSettings.automaticDataCollectionEnabled

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

Signature:

automaticDataCollectionEnabled?: boolean;

FirebaseAppSettings.name

custom name for the Firebase App. The default value is "[DEFAULT]".

Signature:

name?: string;