Did Cordova fix this in Cordova iOS 6.0.0?
Additionaly,
WKURLSchemeHandler
support has been introduced with this release. Using a custom scheme to serve your app content through fixes CORS issues that exist because of the strict security policies thatWKWebView
has applied to thefile
scheme. You can easily configure your Cordova project to use a custom scheme by setting the preference optionsscheme
andhostname
in theconfig.xml
file.
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />