Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Crash when opening app #274

Open
ToyboxZach opened this issue Jul 22, 2021 · 3 comments
Open

Crash when opening app #274

ToyboxZach opened this issue Jul 22, 2021 · 3 comments

Comments

@ToyboxZach
Copy link

I am not sure what changed but my app started running into this issue

mixpanel/mixpanel-iphone#937

And it looks like the solution is to just upgrade the mixpanel pod since this package is depending on 3.6 we need to bump it to 3.9

@yarikpwnzer
Copy link

@ToyboxZach hi, make fork from this repo, fix this line in index.js:
const instance = new MixpanelInstance(apiToken, optOutTrackingDefault)
to
const instance = new MixpanelInstance(apiToken, optOutTrackingDefault, trackCrashes, automaticPushTracking, launchOptions)
Init MP like this: Mixpanel.sharedInstanceWithToken(TOKEN, false, true, false, null)

@ToyboxZach
Copy link
Author

I actually decided to switch to the mixpanel supported one, seems like a better move going forward.

I would probably suggest this package just mention the supported package now
https://github.com/mixpanel/mixpanel-react-native

@yarikpwnzer
Copy link

@ToyboxZach oh nice, I didn't know about that. Fixed that issue all day long.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants