File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public protocol CompassTracking: AnyObject {
82
82
func removeUserSegment( _ name: String )
83
83
func clearUserSegments( )
84
84
func setConsent( _ hasConsent: Bool )
85
+ func getUserId( ) -> String
85
86
}
86
87
87
88
public class CompassTracker : Tracker {
@@ -295,6 +296,10 @@ extension CompassTracker: CompassTracking {
295
296
public func setConsent( _ hasConsent: Bool ) {
296
297
storage. setConsent ( hasConsent)
297
298
}
299
+
300
+ public func getUserId( ) -> String {
301
+ return storage. userId
302
+ }
298
303
}
299
304
300
305
extension CompassTracker : ConversionsProvider {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
16
16
#
17
17
18
18
spec . name = "MarfeelSDK-iOS"
19
- spec . version = "2.10.2 "
19
+ spec . version = "2.11.0 "
20
20
spec . summary = "iOS version of MarfeelSDK."
21
21
22
22
# This description is used to generate tags and improve search results.
You can’t perform that action at this time.
0 commit comments