Skip to content

Commit 1445dc5

Browse files
committed
Merge pull request #280 from BranchMetrics/prevent-slack-clicking
first pass - whitelist bundle ID of slack to prevent premature link c…
2 parents 4e068f4 + d4e02e9 commit 1445dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/Branch-SDK/BranchActivityItemProvider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ - (id)item {
7070
}
7171

7272
// Because Facebook immediately scrapes URLs, we add an additional parameter to the existing list, telling the backend to ignore the first click
73-
if ([channel isEqualToString:@"facebook"] || [channel isEqualToString:@"twitter"]) {
73+
if ([channel isEqualToString:@"facebook"] || [channel isEqualToString:@"twitter"] || [channel isEqualToString:@"com.tinyspeck.chatlyio.share"]) {
7474
return [NSURL URLWithString:[[Branch getInstance] getShortURLWithParams:params andTags:tags andChannel:channel andFeature:feature andStage:stage andAlias:alias ignoreUAString:self.userAgentString forceLinkCreation:YES]];
7575
}
7676

0 commit comments

Comments
 (0)