You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When FireBase is initialized with a name for the app like this:
initializeFirebaseApp(serviceAccount, 'foo');
I'm getting: Error: The default Firebase app does not exist. Make sure you call initializeApp() before using any of the Firebase services.
When using the firebase initializeApp() function like this:
initializeApp({ credential }, 'foo');
restore() for example fails with a "firebase is not initialized" error.
The only way to make it work for now is to call:
initializeApp({ credential }, '[DEFAULT]');
right before using any functions from this package.
The problem might be that throughoput this library everytime when getFirestore() is called it is done so without the name of the initialized app, which should be getFirestore(getApp(''foo")).
The text was updated successfully, but these errors were encountered:
When FireBase is initialized with a name for the app like this:
initializeFirebaseApp(serviceAccount, 'foo');
I'm getting: Error: The default Firebase app does not exist. Make sure you call initializeApp() before using any of the Firebase services.
When using the firebase initializeApp() function like this:
initializeApp({ credential }, 'foo');
restore() for example fails with a "firebase is not initialized" error.
The only way to make it work for now is to call:
initializeApp({ credential }, '[DEFAULT]');
right before using any functions from this package.
The problem might be that throughoput this library everytime when getFirestore() is called it is done so without the name of the initialized app, which should be getFirestore(getApp(''foo")).
The text was updated successfully, but these errors were encountered: