diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 187bbe4c6..5c633cf81 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -162,4 +162,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: ab056def7c57fcd5747a7be922ee9fc2b5ce9783 -COCOAPODS: 1.13.0 +COCOAPODS: 1.14.2 diff --git a/SwiftPM-Wrap/GrowingAutotracker/Exports.swift b/SwiftPM-Wrap/GrowingAutotracker/Exports.swift index 63d17fdab..8c4d4b7ff 100644 --- a/SwiftPM-Wrap/GrowingAutotracker/Exports.swift +++ b/SwiftPM-Wrap/GrowingAutotracker/Exports.swift @@ -113,6 +113,18 @@ public struct Autotracker { public static func clearTimers() { autotracker.clearTrackTimer() } + + public static func setGeneralProps(_ props: [String: String]) { + autotracker.setGeneralProps(props) + } + + public static func removeGeneralProps(_ keys: [String]) { + autotracker.removeGeneralProps(keys) + } + + public static func clearGeneralProps() { + autotracker.clearGeneralProps() + } public static func autotrackPage(_ viewController: UIViewController, alias: String, diff --git a/SwiftPM-Wrap/GrowingTracker/Exports.swift b/SwiftPM-Wrap/GrowingTracker/Exports.swift index bc0602004..d2deb3379 100644 --- a/SwiftPM-Wrap/GrowingTracker/Exports.swift +++ b/SwiftPM-Wrap/GrowingTracker/Exports.swift @@ -105,4 +105,16 @@ public struct Tracker { public static func clearTimers() { tracker.clearTrackTimer() } + + public static func setGeneralProps(_ props: [String: String]) { + tracker.setGeneralProps(props) + } + + public static func removeGeneralProps(_ keys: [String]) { + tracker.removeGeneralProps(keys) + } + + public static func clearGeneralProps() { + tracker.clearGeneralProps() + } }