File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -171,11 +171,18 @@ BOOL getAdTrackingEnabled(SEGAnalyticsConfiguration *configuration)
171
171
};
172
172
}
173
173
174
+ NSDictionary *settingsDictionary = nil ;
174
175
#if TARGET_OS_IPHONE
175
- dict[ @" device " ] = mobileSpecifications (configuration, deviceToken);
176
+ settingsDictionary = mobileSpecifications (configuration, deviceToken);
176
177
#elif TARGET_OS_OSX
177
- dict[ @" device " ] = desktopSpecifications (configuration, deviceToken);
178
+ settingsDictionary = desktopSpecifications (configuration, deviceToken);
178
179
#endif
180
+
181
+ if (settingsDictionary != nil ) {
182
+ dict[@" device" ] = settingsDictionary[@" device" ];
183
+ dict[@" os" ] = settingsDictionary[@" os" ];
184
+ dict[@" screen" ] = settingsDictionary[@" screen" ];
185
+ }
179
186
180
187
return dict;
181
188
}
You can’t perform that action at this time.
0 commit comments