Skip to content

Commit e8a17ea

Browse files
authored
bump mixpanel to 4.0.3 (#2)
1 parent 4d1c17a commit e8a17ea

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

Example/BasicExample/BasicExample.xcodeproj/project.pbxproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
46EDC71127C6B8D200B870D7 /* BasicExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46EDC71027C6B8D200B870D7 /* BasicExampleUITests.swift */; };
1717
46EDC71327C6B8D200B870D7 /* BasicExampleUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46EDC71227C6B8D200B870D7 /* BasicExampleUITestsLaunchTests.swift */; };
1818
46EDC72127C6B92C00B870D7 /* Segment in Frameworks */ = {isa = PBXBuildFile; productRef = 46EDC72027C6B92C00B870D7 /* Segment */; };
19+
823B068D28E6199200E8899C /* Mixpanel in Frameworks */ = {isa = PBXBuildFile; productRef = 823B068C28E6199200E8899C /* Mixpanel */; };
1920
/* End PBXBuildFile section */
2021

2122
/* Begin PBXContainerItemProxy section */
@@ -53,6 +54,7 @@
5354
isa = PBXFrameworksBuildPhase;
5455
buildActionMask = 2147483647;
5556
files = (
57+
823B068D28E6199200E8899C /* Mixpanel in Frameworks */,
5658
465ACC5627CFFC0D0025BD02 /* SegmentMixpanel in Frameworks */,
5759
46EDC72127C6B92C00B870D7 /* Segment in Frameworks */,
5860
);
@@ -158,6 +160,7 @@
158160
packageProductDependencies = (
159161
46EDC72027C6B92C00B870D7 /* Segment */,
160162
465ACC5527CFFC0D0025BD02 /* SegmentMixpanel */,
163+
823B068C28E6199200E8899C /* Mixpanel */,
161164
);
162165
productName = BasicExample;
163166
productReference = 46EDC6F227C6B8D100B870D7 /* BasicExample.app */;
@@ -233,6 +236,7 @@
233236
mainGroup = 46EDC6E927C6B8D100B870D7;
234237
packageReferences = (
235238
46EDC71F27C6B92C00B870D7 /* XCRemoteSwiftPackageReference "analytics-swift" */,
239+
823B068B28E6199200E8899C /* XCRemoteSwiftPackageReference "mixpanel-swift" */,
236240
);
237241
productRefGroup = 46EDC6F327C6B8D100B870D7 /* Products */;
238242
projectDirPath = "";
@@ -608,6 +612,14 @@
608612
minimumVersion = 1.1.2;
609613
};
610614
};
615+
823B068B28E6199200E8899C /* XCRemoteSwiftPackageReference "mixpanel-swift" */ = {
616+
isa = XCRemoteSwiftPackageReference;
617+
repositoryURL = "https://github.com/mixpanel/mixpanel-swift";
618+
requirement = {
619+
branch = master;
620+
kind = branch;
621+
};
622+
};
611623
/* End XCRemoteSwiftPackageReference section */
612624

613625
/* Begin XCSwiftPackageProductDependency section */
@@ -620,6 +632,11 @@
620632
package = 46EDC71F27C6B92C00B870D7 /* XCRemoteSwiftPackageReference "analytics-swift" */;
621633
productName = Segment;
622634
};
635+
823B068C28E6199200E8899C /* Mixpanel */ = {
636+
isa = XCSwiftPackageProductDependency;
637+
package = 823B068B28E6199200E8899C /* XCRemoteSwiftPackageReference "mixpanel-swift" */;
638+
productName = Mixpanel;
639+
};
623640
/* End XCSwiftPackageProductDependency section */
624641
};
625642
rootObject = 46EDC6EA27C6B8D100B870D7 /* Project object */;

Example/BasicExample/BasicExample.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let package = Package(
2828
.package(
2929
name: "Mixpanel",
3030
url: "https://github.com/mixpanel/mixpanel-swift",
31-
from: "3.1.3"
31+
from: "4.0.3"
3232
)
3333
],
3434
targets: [

Sources/SegmentMixpanel/MixpanelDestination.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class MixpanelDestination: DestinationPlugin, RemoteNotifications {
6060

6161
// Initialize mixpanel
6262
if let token = mixpanelSettings?.token {
63-
mixpanel = Mixpanel.initialize(token: token)
63+
mixpanel = Mixpanel.initialize(token: token, trackAutomaticEvents: false)
6464
}
6565

6666
// Change the endpoint if euro one is set

0 commit comments

Comments
 (0)