/cordova-plugin-wkwebviewxhrfix

Cordova iOS plugin to fix local file access via XHR with WKWebView with Cordova iOS 6+ support.

Primary LanguageObjective-CMIT LicenseMIT

cordova-plugin-wkwebviewxhrfix

Cordova iOS plugin to fix local file access via XHR with WKWebView for Cordova iOS 6+

About

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".

Installation

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

Notes

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!