Open allen-hu-666 opened 6 years ago
WKWebView do networking stuff out of app’s process, so it ignores NSURLProtocol subclass that decrypts your assets. You can use this approach to add NSURLProtocol support to WKWebView https://github.com/WildDylan/WKWebViewWithURLProtocol But please note, that it is quite semi-legit to use it. Alternatively, iOS 11 introduces some support for custom scheme handlers for WKWebView (https://developer.apple.com/documentation/webkit/wkurlschemehandler), but I haven’t played with it yet.
+1 the same issue here
+1
+1
+1
with Ionic wkwebview is default on iOS
+1
Anyone have solution????
Anyone have solution????
@wangshengjin there's no solution :-(
+1 @tkyaji
@tkyaji having same issue, could you please resolve and update the repo.
+💯
WKWebView do networking stuff out of app’s process, so it ignores NSURLProtocol subclass that decrypts your assets. You can use this approach to add NSURLProtocol support to WKWebView https://github.com/WildDylan/WKWebViewWithURLProtocol But please note, that it is quite semi-legit to use it. Alternatively, iOS 11 introduces some support for custom scheme handlers for WKWebView (https://developer.apple.com/documentation/webkit/wkurlschemehandler), but I haven’t played with it yet.
any tips to use WKWebViewWithURLProtocol approach?
...so it'd be nice to get WKWebView support with this plugin. Thank you.
WKWebView do networking stuff out of app’s process, so it ignores NSURLProtocol subclass that decrypts your assets. You can use this approach to add NSURLProtocol support to WKWebView https://github.com/WildDylan/WKWebViewWithURLProtocol But please note, that it is quite semi-legit to use it. Alternatively, iOS 11 introduces some support for custom scheme handlers for WKWebView (https://developer.apple.com/documentation/webkit/wkurlschemehandler), but I haven’t played with it yet.
Can you kindly show how the wkurlschemehandler can be used to process NSURLProtocol subclass so that decryption is possible?
+1
Any update on this issue
i use the plugin in my project. android is ok, but not work on ios when i use wkwebview.