diff --git a/Libraries/LinkingIOS/RCTLinkingManager.m b/Libraries/LinkingIOS/RCTLinkingManager.m index 1dc2f1cbe8eea1..0b9f6dd1ef8411 100644 --- a/Libraries/LinkingIOS/RCTLinkingManager.m +++ b/Libraries/LinkingIOS/RCTLinkingManager.m @@ -95,7 +95,7 @@ - (void)handleOpenURLNotification:(NSNotification *)notification if (@available(iOS 10.0, *)) { [RCTSharedApplication() openURL:URL options:@{} completionHandler:^(BOOL success) { if (success) { - resolve(nil); + resolve(@YES); } else { reject(RCTErrorUnspecified, [NSString stringWithFormat:@"Unable to open URL: %@", URL], nil); } @@ -103,7 +103,7 @@ - (void)handleOpenURLNotification:(NSNotification *)notification } else { BOOL opened = [RCTSharedApplication() openURL:URL]; if (opened) { - resolve(nil); + resolve(@YES); } else { reject(RCTErrorUnspecified, [NSString stringWithFormat:@"Unable to open URL: %@", URL], nil); }