svelte Error: Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app). code example
Example: firebase app named default already exists react native
if (!firebase.apps.length) {
firebase.initializeApp({});
}
if (!firebase.apps.length) {
firebase.initializeApp({});
}