Skip to content

Commit d4e02e9

Browse files
committed
first pass - whitelist bundle ID of slack to prevent premature link click
1 parent ee3f014 commit d4e02e9

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)