Cordova iOS plugin to fix local file access via XHR with WKWebView for Cordova iOS 6+
Install this plugin to fix local file access via XHR with WKWebView for Cordova iOS 6+ which is accompanied with an error message about "Cross origin requests are only supported for HTTP".
Install the plugin by running:
cordova plugin add @ahovakimyan/cordova-plugin-wkwebviewxhrfix
Or install from github
cordova plugin add https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix
This plugin does not depend on any other additional plugins and does not require additional permissions.
Modified TheMattRay plugin to support Cordova iOS 6+.
That's it! Seriously!