Index
Properties
automaticDataCollectionEnabled
The settable config flag for GDPR opt-in/opt-out
name
The (read-only) name for this app.
The default app's name is "[DEFAULT]"
.
options
The (read-only) configuration options for this app. These are the original
parameters given in
firebase.initializeApp()
.
Methods
analytics
appCheck
-
Returns AppCheck
auth
database
delete
-
Renders this app unusable and frees the resources of all associated services.
Returns Promise<any>
firestore
-
Returns Firestore
functions
-
Parameters
-
Optional regionOrCustomDomain: string
Returns Functions
-
installations
-
Gets the
Installations
service for the current app.The Installations SDK does not work in a Node.js environment.
Returns Installations
messaging
performance
-
Gets the
Performance
service for the current app. If the current app is not the default one, throws an error.The Performance SDK does not work in a Node.js environment.
Returns Performance
remoteConfig
-
Gets the
RemoteConfig
instance.The Remote Config SDK does not work in a Node.js environment.
Returns RemoteConfig
A Firebase App holds the initialization information for a collection of services.
Do not call this constructor directly. Instead, use
firebase.initializeApp()
to create an app.