-
Notifications
You must be signed in to change notification settings - Fork 36
/
plugin.xml
30 lines (26 loc) · 1.14 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version='1.0' encoding='utf-8'?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="@ahovakimyan/cordova-plugin-wkwebviewxhrfix" version="1.0.2">
<name>Cordova WKWebView File XHR Fix</name>
<description>Cordova iOS plugin to fix local file access via XHR with WKWebView(resolves XHR Cross-Origin Resource Sharing (CORS) constraints) for Cordova iOS 6+</description>
<license>MIT</license>
<keywords>cordova,wkwebview,webview</keywords>
<repo>https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix</repo>
<engines>
<engine name="cordova" version=">=5.0.0" />
<engine name="cordova-ios" version=">=4.0.0" />
</engines>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="WKWebViewXHRFix">
<param name="ios-package" value="WKWebViewXHRFix" />
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="WebKit.framework" weak="true" />
<header-file src="src/ios/CDVWebViewEngine+FileXhrFix.h" />
<source-file src="src/ios/CDVWebViewEngine+FileXhrFix.m" />
</platform>
</plugin>