mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: @public This diff introduces the native backend for a new WKWebView prop: `onShouldStartLoadWithRequest`. In the final component, the behaviour will be as follows: Whenever the user navigates around in the web view, we call `onShouldStartLoadWithRequest` with the navigation event. If `onShouldStartLoadWithRequest` returns `true`, we continue the navigation. Otherwise, we abort it. Reviewed By: shergin Differential Revision: D6370317 fbshipit-source-id: e3cdd7e2a755125aebdb6df67e7b39116228bdfb