firebase app name default already exists react native code example
Example: firebase app named default already exists react native
if (!firebase.apps.length) {
firebase.initializeApp({});
}
if (!firebase.apps.length) {
firebase.initializeApp({});
}