Skip to content

Commit a31c749

Browse files
committed
add referring link
1 parent af33dbe commit a31c749

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Branch-SDK/Branch-SDK/BNCFabricAnswers.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ + (NSDictionary *)prepareBranchDataForAnswers:(NSDictionary *)dictionary {
2020
NSMutableDictionary *temp = [[NSMutableDictionary alloc] init];
2121

2222
for (NSString *key in dictionary.allKeys) {
23-
if ([key hasPrefix:@"+"] || ([key hasPrefix:@"$"] && ![key isEqualToString:@"$identity_id"]) || [key isEqualToString:@"~referring_link"]) {
23+
if ([key hasPrefix:@"+"] || ([key hasPrefix:@"$"] && ![key isEqualToString:@"$identity_id"])) {
2424
// ignore because this data is not found on the ShareSheet
2525
continue;
2626
} else if ([dictionary[key] isKindOfClass:[NSArray class]]) {
@@ -44,7 +44,7 @@ + (NSDictionary *)prepareBranchDataForAnswers:(NSDictionary *)dictionary {
4444

4545
BNCPreferenceHelper *preferenceHelper = [BNCPreferenceHelper preferenceHelper];
4646
temp[@"branch_identity"] = preferenceHelper.identityID;
47-
47+
4848
return temp;
4949
}
5050

Branch-TestBed/Branch-TestBed/ViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ - (IBAction)cmdRefreshShort:(id)sender {
5353
- (IBAction)cmdShareLink:(id)sender {
5454
BranchLinkProperties *linkProperties = [[BranchLinkProperties alloc] init];
5555
linkProperties.feature = @"sharing";
56-
linkProperties.alias = @"some alias";
5756
linkProperties.tags = @[@"tag1", @"tag2"];
5857
linkProperties.matchDuration = 7200; // default: 2 hours
5958
linkProperties.stage = @"first";

0 commit comments

Comments
 (0)