File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ public class OdpManager {
61
61
self . odpConfig = OdpConfig ( )
62
62
self . segmentManager. odpConfig = odpConfig
63
63
self . eventManager. odpConfig = odpConfig
64
- if let vuid = vuid, VuidManager . isVuid ( vuid) {
65
- self . eventManager. sendInitializedEvent ( vuid: vuid)
66
- }
64
+ // if let vuid = vuid, VuidManager.isVuid(vuid) {
65
+ // self.eventManager.sendInitializedEvent(vuid: vuid)
66
+ // }
67
67
}
68
68
69
69
func fetchQualifiedSegments( userId: String ,
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ open class OptimizelyClient: NSObject {
101
101
cacheTimeoutInSecs: sdkSettings. segmentsCacheTimeoutInSecs,
102
102
timeoutForSegmentFetchInSecs: sdkSettings. timeoutForSegmentFetchInSecs,
103
103
timeoutForEventDispatchInSecs: sdkSettings. timeoutForOdpEventInSecs)
104
-
104
+
105
105
let userProfileService = userProfileService ?? DefaultUserProfileService ( )
106
106
let logger = logger ?? DefaultLogger ( )
107
107
type ( of: logger) . logLevel = defaultLogLevel ?? . info
@@ -118,7 +118,14 @@ open class OptimizelyClient: NSObject {
118
118
self . datafileHandler = HandlerRegistryService . shared. injectDatafileHandler ( sdkKey: self . sdkKey)
119
119
self . decisionService = HandlerRegistryService . shared. injectDecisionService ( sdkKey: self . sdkKey)
120
120
self . notificationCenter = HandlerRegistryService . shared. injectNotificationCenter ( sdkKey: self . sdkKey)
121
-
121
+ if VuidManager . shared. enable {
122
+ try ? sendOdpEvent ( type: Constants . ODP. eventType,
123
+ action: " client_initialized " ,
124
+ identifiers: [
125
+ Constants . ODP. keyForVuid: VuidManager . shared. vuid!
126
+ ] ,
127
+ data: [ : ] )
128
+ }
122
129
logger. d ( " SDK Version: \( version) " )
123
130
}
124
131
You can’t perform that action at this time.
0 commit comments