Skip to content

Commit

Permalink
match handleOpenURLNotification event payload with iOS (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlntn authored Apr 16, 2021
1 parent 5a3ee83 commit 1decba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/LinkingIOS/macos/RCTLinkingManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ - (void)handleOpenURLNotification:(NSNotification *)notification
NSWindow *lastWindow = [[NSApp windows] lastObject];
[lastWindow makeKeyAndOrderFront:nil];

[self sendEventWithName:@"url" body:notification.userInfo[@"url"]];
[self sendEventWithName:@"url" body:notification.userInfo];
}

RCT_EXPORT_METHOD(openURL:(NSURL *)URL
Expand Down

0 comments on commit 1decba3

Please sign in to comment.