From 1ddcf615942125ecf791a8001794a27f7cb0385c Mon Sep 17 00:00:00 2001 From: Prateek Srivastava Date: Thu, 9 Jun 2016 11:54:44 -0600 Subject: [PATCH] Dont send Segment.io: false --- Pod/Classes/Internal/SEGSegmentIntegration.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Pod/Classes/Internal/SEGSegmentIntegration.m b/Pod/Classes/Internal/SEGSegmentIntegration.m index 6aedcaab5..4bce1f873 100644 --- a/Pod/Classes/Internal/SEGSegmentIntegration.m +++ b/Pod/Classes/Internal/SEGSegmentIntegration.m @@ -373,10 +373,14 @@ - (void)registeredForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken #pragma mark - Queueing +// Merges user provided integration options with bundled integrations. - (NSDictionary *)integrationsDictionary:(NSDictionary *)integrations { NSMutableDictionary *dict = [integrations ?: @{} mutableCopy]; for (NSString *integration in self.analytics.bundledIntegrations) { + if ([integration isEqualToString:@"Segment.io"]) { + continue; + } dict[integration] = @NO; } return [dict copy];