Skip to content

Commit f2c07b1

Browse files
author
Edward Smith
committed
Added share names for older iOS versions.
1 parent ec44146 commit f2c07b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Branch-SDK/Branch-SDK/BranchActivityItemProvider.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ + (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString {
9494
@"WeChat", @"com.tencent.xin.sharetimeline",
9595
@"LINE", @"jp.naver.line.Share",
9696
@"Pinterest", @"pinterest.ShareExtension",
97+
98+
// Keys for older app versions --
99+
100+
@"Facebook", @"com.facebook.Facebook.ShareExtension",
101+
@"Twitter", @"com.atebits.Tweetie2.ShareExtension",
102+
97103
nil
98104
];
99105
// Set to a more human readible sting if we can identify it

0 commit comments

Comments
 (0)