Skip to content

Commit 1decba3

Browse files
authored
match handleOpenURLNotification event payload with iOS (#755)
1 parent 5a3ee83 commit 1decba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/LinkingIOS/macos/RCTLinkingManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ - (void)handleOpenURLNotification:(NSNotification *)notification
8282
NSWindow *lastWindow = [[NSApp windows] lastObject];
8383
[lastWindow makeKeyAndOrderFront:nil];
8484

85-
[self sendEventWithName:@"url" body:notification.userInfo[@"url"]];
85+
[self sendEventWithName:@"url" body:notification.userInfo];
8686
}
8787

8888
RCT_EXPORT_METHOD(openURL:(NSURL *)URL

0 commit comments

Comments
 (0)