-
Notifications
You must be signed in to change notification settings - Fork 371
Description
After upgrading mixpanel from version 4+ to 5.6.4 my app crashes on launch.
The exception I'm getting is IllegalStateException: Default FirebaseApp is not initialized in this process com.sixoversix.copyglass. Make sure to call FirebaseApp.initializeApp(Context) first when calling MixpanelAPI.getInstance(context, token);
I'm not using firebase in this app so I didn't expect Mixpanel SDK to do firebase related initializations.
When debugging the code I saw that the firebase initialization is executed because the function checkPushNotificationConfiguration returns true.
When further debugging I saw it returns true because I'm using a different sdk (intercom) which internally uses firebase.
See screenshot for clarifying what I found in debug:

Please let me know what can I do to overcome this.
Thanks!