diff --git a/index.js b/index.js index c0b0f53..35791d8 100644 --- a/index.js +++ b/index.js @@ -275,7 +275,7 @@ mixpanel.track('my event') export default { sharedInstanceWithToken(apiToken: string, optOutTrackingDefault: ?boolean = false, trackCrashes: ?boolean = true, automaticPushTracking: ?boolean = true, launchOptions: ?Object = null): Promise { - const instance = new MixpanelInstance(apiToken, optOutTrackingDefault) + const instance = new MixpanelInstance(apiToken, optOutTrackingDefault, trackCrashes, automaticPushTracking, launchOptions) if (!defaultInstance) defaultInstance = instance return instance.initialize() },