Skip to content

Commit 1985db2

Browse files
committed
Merge pull request #55 from BranchMetrics/fix/issue-52-deep-link-handler-differences
DeepLinkHandler now returns string instead of dictionary
2 parents bffb150 + 13220cb commit 1985db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios/BranchSDK.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ - (void)initSession:(CDVInvokedUrlCommand*)command
9898
resultString = [NSString stringWithFormat:@"Init Error: %@", [error localizedDescription]];
9999
}
100100
NSLog(@"returning data to js interface..");
101-
[self.commandDelegate evalJs:[NSString stringWithFormat:@"DeepLinkHandler({data:'%@'})", resultString]];
101+
[self.commandDelegate evalJs:[NSString stringWithFormat:@"DeepLinkHandler('%@')", resultString]];
102102
}];
103103
}
104104

0 commit comments

Comments
 (0)