mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-09 13:37:58 +08:00
Summary: If you try linking to a system URL scheme that isn't http or https such a tel, the linking promise will be rejected. I'm fixing this by relying on the output of `BOOL canOpen = [RCTSharedApplication() canOpenURL:URL];` to resolve the promise, but still falling back on the better error message if the given URL cannot be opened. Changelog: [iOS][fixed] - Allow linking to system URL schemes other than http or https Reviewed By: cpojer Differential Revision: D14250507 fbshipit-source-id: d74b2bd615eb6e320a39a956424e0ee34d476dab