react-native-mixpanel icon indicating copy to clipboard operation
react-native-mixpanel copied to clipboard

Crash when opening app

Open ToyboxZach opened this issue 4 years ago • 3 comments

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

https://github.com/mixpanel/mixpanel-iphone/issues/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

ToyboxZach avatar Jul 22 '21 16:07 ToyboxZach

@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)

yarikpwnzer avatar Aug 04 '21 18:08 yarikpwnzer

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

ToyboxZach avatar Aug 04 '21 18:08 ToyboxZach

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

yarikpwnzer avatar Aug 04 '21 18:08 yarikpwnzer