Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@
repositoryURL = "https://github.com/segmentio/analytics-swift";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.1.2;
minimumVersion = 1.4.0;
};
};
823B068B28E6199200E8899C /* XCRemoteSwiftPackageReference "mixpanel-swift" */ = {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let package = Package(
.package(
name: "Segment",
url: "https://github.com/segmentio/analytics-swift.git",
from: "1.1.2"
from: "1.4.0"
),
.package(
name: "Mixpanel",
Expand Down
7 changes: 7 additions & 0 deletions Sources/SegmentMixpanel/MixpanelDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ import Foundation
import Segment
import Mixpanel


@objc(SEGMixpanelDestination)
public class ObjCSegmentMixpanel: NSObject, ObjCDestination, ObjCDestinationShim {
public func instance() -> DestinationPlugin { return MixpanelDestination() }
}


public class MixpanelDestination: DestinationPlugin, RemoteNotifications {
public let timeline = Timeline()
public let type = PluginType.destination
Expand Down