evollu / react-native-firebase-analytics

React native bridge for firebase analytics
MIT License
206 stars 54 forks source link

Default FirebaseApp is not initialized in this process [processName]. Make sure to call FirebaseApp.initializeApp(Context) first. #67

Open mienaikoe opened 6 years ago

mienaikoe commented 6 years ago

So I just recently updated my react native version to 0.48.4. On one of the many iterations of rebuilding my environment after react-native-git-update destroyed all of it, I found this error:

Default FirebaseApp is not initialized in this process com.kinvitereact. Make sure to call FirebaseApp.initializeApp(Context) first.

This was a new error that I hadn't seen in previous Android builds with react-native-firebase-analytics or react-native-fcm.

Is this something that can be handled in the library? If so, then I could do a PR. If not, then could the steps to get through this be documented somewhere?