davide-scalzo/react-native-mixpanel

Ignore params on init Instance.

yarikpwnzer opened this issue · 0 comments

Hello, why do You ignore params on init?

sharedInstanceWithToken(apiToken: string, optOutTrackingDefault: ?boolean = false, trackCrashes: ?boolean = true, automaticPushTracking: ?boolean = true, launchOptions: ?Object = null): Promise {
const instance = new MixpanelInstance(apiToken, optOutTrackingDefault)
if (!defaultInstance) defaultInstance = instance
return instance.initialize()
},

So You ignoring trackCrashes, automaticPushTracking (also from latest Mixpanel iOS lib should be now false), launchOptions.