Skip to content

Commit ab9b4c0

Browse files
committed
Enable automatic events in iOS
1 parent d5d663f commit ab9b4c0

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)