Skip to content

Commit

Permalink
match handleOpenURLNotification event payload with iOS (microsoft#755) (
Browse files Browse the repository at this point in the history
#2)

Co-authored-by: Ryan Linton <ryanlntn@gmail.com>
  • Loading branch information
pull[bot] and ryanlntn committed Apr 21, 2021
1 parent ab88c7d commit 7a9006b
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 7a9006b

Please sign in to comment.