Answers for "Firebase: Firebase App named '[DEFAULT]' already exists with different options or config"

5

Firebase: Firebase App named '[DEFAULT]' already exists

if (!firebase.apps.length) {
   firebase.initializeApp({});
}else {
   firebase.app(); // if already initialized, use that one
}
Posted by: Guest on December-16-2020
1

Firebase: Firebase App named '[DEFAULT]' already exists

if (!firebase.apps.length) {
    firebase.initializeApp({});
}
Posted by: Guest on February-16-2020

Code answers related to "Firebase: Firebase App named '[DEFAULT]' already exists with different options or config"

Code answers related to "Javascript"

Browse Popular Code Answers by Language