Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp() #6927
Replies: 4 comments 3 replies
-
Hi there! This looks like an issue that has been filed as a discussion topic instead, which conveniently ignores the need/effort required to post certain important information to help you. Like, what platform? etc Please triple-check you've followed all the install instructions: https://rnfirebase.io/#installation Please examine this script which demonstrates a complete + correct integration starting from scratch, noting carefully for instance that on iOS platform you do need to alter the AppDelegate file https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh |
Beta Was this translation helpful? Give feedback.
-
hi. did you solved it? |
Beta Was this translation helpful? Give feedback.
-
Same issue here :( |
Beta Was this translation helpful? Give feedback.
-
What config exactly did you use that worked? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using @react-native-firebase/messaging for push notifications in react-native. I don't know why I am getting this error after I have tried so many solutions still getting the same error again and again.
Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp() this is error.
I read the document very carefully it says that "there is no need to manually call the initializeApp method with your project credentials. The native Android & iOS SDKs automatically connect to your Firebase project using the credentials provided during the Getting Started installation steps." I have followed all steps for installation.
This is what my code look like!
import messaging from '@react-native-firebase/messaging';
package.json
Really appreciate your help
Beta Was this translation helpful? Give feedback.
All reactions