Getting error even after calling initializeApp #7121
waheedakhtar694
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not sure if this is a bug or if I am doing something wrong but I am simply calling the initializing function on the root level but getting this error
Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()
I am using version
17.5.0
(upgraded from 14.x.x) and i recently moved on to react-native0.71.8
from0.67.1
@mikehardy any suggestions? thanks in advance.
firebase.initializeApp({ projectId: 'projectId', appId: 'appId', clientId: 'clientId', apiKey: 'apiKey', storageBucket: 'storageBucket', })
Beta Was this translation helpful? Give feedback.
All reactions