WKWebview: Cross origin requests are only supported for HTTP

I Installed WKWebView and everything worked ok until I ran the app in release mode. Then the app started loading showing a blank page and I see in the console many errors “Cross origin requests are only supported for HTTP”, probably pointing a problem in loading the templates. Any Idea?

1 Like

Did you fix this issue?

This plugin solves the issue: https://github.com/TheMattRay/cordova-plugin-wkwebviewxhrfix

1 Like

For Cordova-ios 6.x.x+ to solve this issue can be used https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix by install

cordova plugin add https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix