Creates a new App instance using the specified optionsand the app name. If an instance already exists by the sameapp name a ValueError is raised.If options are not provided an attempt is made to load the options from the environment.This is done by looking up theFIREBASE_CONFIG environment variable. If the value ofthe variable starts with"{", it is parsed as a JSON object. Otherwise it is treatedas a file name and the JSON content is read from the corresponding file.Use this function whenever a new App instance is required. Do not directly invoke theApp constructor.
Parameters:
credential – A credential object used to initialize the SDK (optional). If none is provided,Google Application Default Credentials are used.
options – A dictionary of configuration options (optional). Supported options includedatabaseURL,storageBucket,projectId,databaseAuthVariableOverride,serviceAccountId andhttpTimeout. IfhttpTimeout is not set, the SDK usesa default timeout of 120 seconds.
[[["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 2025-03-12 UTC."],[],[]]