davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

Error regarding initializing firebase (need to update to mixpnael SDK v5.6.8) #210

Open mhdtouban opened 4 years ago

mhdtouban commented 4 years ago

We are getting the following error when building the project on android. java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.healthie.healthReel. Make sure to call FirebaseApp.initializeApp(Context) first.

This has been fixed in mixpnael SDK v5.6.7.

You need to support the latest mixpanel SDK as there is a bug fix in 5.6.7 regarding firebase initialization. https://github.com/mixpanel/mixpanel-android/releases/tag/v5.6.7

lorenc-tomasz commented 4 years ago

PR: https://github.com/davodesign84/react-native-mixpanel/pull/207