diff --git a/src/webview-utils.ios.ts b/src/webview-utils.ios.ts index a676985..f9a3c3a 100644 --- a/src/webview-utils.ios.ts +++ b/src/webview-utils.ios.ts @@ -29,7 +29,7 @@ class WebviewUtilsWKNavigationDelegateImpl extends NSObject implements WKNavigat }); if (isHttpRequest && !areHeadersAdded) { - if (navigationAction.request.HTTPMethod !== "GET") { + if (navigationAction.request.HTTPMethod !== "GET" || (navigationAction.targetFrame && !navigationAction.targetFrame.mainFrame)) { decisionHandler(WKNavigationActionPolicy.Allow); return; }