MinimalWebView¶
For native-hook authors: the Swift API a hook gets. An app that only renders <WebView> doesn’t need it. Start
with the native hooks guide.
Topics¶
Hooks¶
Native hooks: Swift in your own Expo module that gets the real WKWebView behind each WebView, its creation-time
configuration and a WebViewContext, with no protocol to implement.
One WebView as one hook sees it, for the life of the WKWebView.
The answer to one JS ref.hook call, which a handle(_:_:) handler gets: call it with the value
the call resolves with, or fail(_:) it.
Why a Document ended, as onDocumentEnd(_:) and onDestroyed(_:) report it.