From 1decba337098ba9dd16fb8393b69f69aa1e1bd18 Mon Sep 17 00:00:00 2001 From: Ryan Linton Date: Fri, 16 Apr 2021 15:50:15 -0600 Subject: [PATCH] match handleOpenURLNotification event payload with iOS (#755) --- Libraries/LinkingIOS/macos/RCTLinkingManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LinkingIOS/macos/RCTLinkingManager.mm b/Libraries/LinkingIOS/macos/RCTLinkingManager.mm index 678c2a67639129..979c36b5fe38f3 100644 --- a/Libraries/LinkingIOS/macos/RCTLinkingManager.mm +++ b/Libraries/LinkingIOS/macos/RCTLinkingManager.mm @@ -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