Skip to content

Commit d0dc7a6

Browse files
authored
Merge pull request #466 from sjchmiela/patch-1
[ios] Fix clicked_branch_link false positive
2 parents 75c2c0a + 53427e4 commit d0dc7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNBranch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ + (void)initializeBranchSDK
183183
if (error) result[RNBranchLinkOpenedNotificationErrorKey] = error;
184184
if (params) {
185185
result[RNBranchLinkOpenedNotificationParamsKey] = params;
186-
BOOL clickedBranchLink = params[@"+clicked_branch_link"];
186+
BOOL clickedBranchLink = [params[@"+clicked_branch_link"] boolValue];
187187

188188
if (clickedBranchLink) {
189189
BranchUniversalObject *branchUniversalObject = [BranchUniversalObject objectWithDictionary:params];

0 commit comments

Comments
 (0)