// The default app's name is "[DEFAULT]"
firebase.initializeApp(defaultAppConfig);
console.log(firebase.app().name); // "[DEFAULT]"
example
// A named app's name is what you provide to initializeApp()var otherApp = firebase.initializeApp(otherAppConfig, "other");
console.log(otherApp.name); // "other"
options
options:Object
The (read-only) configuration options for this app. These are the original
parameters given in
firebase.initializeApp().
example
var app = firebase.initializeApp(config);
console.log(app.options.databaseURL === config.databaseURL); // true
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[]]
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.