We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ccd569 commit 9c4bf01Copy full SHA for 9c4bf01
Analytics/Integrations/Segmentio/SEGSegmentioIntegration.m
@@ -356,6 +356,7 @@ - (void)enqueueAction:(NSString *)action dictionary:(NSDictionary *)dictionary o
356
NSDictionary *customContext = options[@"context"];
357
int capacity = customContext.count + defaultContext.count;
358
NSMutableDictionary *context = [NSMutableDictionary dictionaryWithCapacity:capacity];
359
+ [context setValue:_traits forKey:@"traits"];
360
[context addEntriesFromDictionary:defaultContext];
361
[context addEntriesFromDictionary:customContext]; // let the custom context override ours
362
[payload setValue:context forKey:@"context"];
0 commit comments