mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4a5d0bdbd7
Summary: The `Linking.openURL()` method is supposed to resolve to a `true` `Promise` when the URL was properly open. However, in iOS, the `Promise` was resolving to `nil`. So I fixed this issue by making it resolve to `YES` (`true`), just like on Android. ## Changelog [iOS] [Fixed] - Fix return value of `Linking.openURL()` Pull Request resolved: https://github.com/facebook/react-native/pull/24955 Differential Revision: D15411994 Pulled By: cpojer fbshipit-source-id: 90bdd6cfae8d69d7a239a0b4c84d75859e293b32