jcesarmobile commented on issue #1420: URL: https://github.com/apache/cordova-ios/issues/1420#issuecomment-2051685231
`CDVURLProtocol` only worked with the `UIWebView` which Apple doesn't allow to use since the end of 2020. Cordova uses the `WKWebView` and custom scheme handlers, plugins can have an `overrideSchemeTask` method what Cordova's scheme handler check and let the plugin intercept the request instead of doing the default behavior. Note that this only work for internal requests, for external requests you'll first need to replace the urls to point to the local scheme so they can intercepted, something like what proxy plugin does https://github.com/GEDYSIntraWare/cordova-plugin-webview-proxy/blob/master/src/ios/WebviewProxy.m#L22 https://github.com/GEDYSIntraWare/cordova-plugin-webview-proxy?tab=readme-ov-file#cordova-plugin-to-proxy-https-requests-on-ios-without-cors-and-cookie-restrictions -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org