Skip to content

Commit 80015b1

Browse files
authored
Merge pull request #99 from mixpanel/fix-automatic-events-ios
Enable automatic events in iOS
2 parents 479ce7b + ab9b4c0 commit 80015b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ios/MixpanelReactNative.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ open class MixpanelReactNative: NSObject {
1919
rejecter reject: RCTPromiseRejectBlock) -> Void {
2020
AutomaticProperties.setAutomaticProperties(properties)
2121
Mixpanel.initialize(token: token, launchOptions: nil, flushInterval: Constants.DEFAULT_FLUSH_INTERVAL, instanceName: token, automaticPushTracking: Constants.AUTOMATIC_PUSH_TRACKING, optOutTrackingByDefault: optOutTrackingByDefault)
22-
let instance = MixpanelReactNative.getMixpanelInstance(token)
23-
instance?.trackAutomaticEventsEnabled = false
2422
resolve(true)
2523
}
2624

0 commit comments

Comments
 (0)