The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/app > FirebaseApp

FirebaseApp interface

A FirebaseApp holds the initialization information for a collection of services.

Do not call this constructor directly. Instead, use initializeApp() to create an app.

Signature:

export interface FirebaseApp 

Properties

Property Type Description
automaticDataCollectionEnabled boolean The settable config flag for GDPR opt-in/opt-out
name string The (read-only) name for this app.The default app's name is "[DEFAULT]".
options FirebaseOptions The (read-only) configuration options for this app. These are the original parameters given in initializeApp().