forked from runner525/x5webview-cordova-plugin
-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugin.xml
55 lines (45 loc) · 3.08 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?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="cordova-plugin-webview-x5"
version="0.3.1">
<name>TBS WebView</name>
<description>use x5 for cordova to get a better webview browsing experience</description>
<license>Apache 2.0</license>
<keywords>tbs, webview</keywords>
<engines>
<engine name="cordova-android" version=">=4"/>
<engine name="cordova-plugman" version=">=5.2.0"/><!-- needed for gradleReference support -->
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<preference name="webView" value="org.apache.cordova.x5engine.X5WebViewEngine"/>
<preference name="appUserAgent" value="x5webview"/>
<preference name="android-minSdkVersion" value="15" />
<allow-navigation href="*" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5CookieManager.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5CordovaClientCertRequest.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5CordovaHttpAuthHandler.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5ExposedJsApi.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5WebChromeClient.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5WebView.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5WebViewClient.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/src/org/apache/cordova/x5engine/X5WebViewEngine.java" target-dir="src/org/apache/cordova/x5engine"/>
<source-file src="platforms/android/libs/x5core.aar" target-dir="libs"/>
<framework src="platforms/android/x5.gradle" custom="true" type="gradleReference"/>
<info>
If X5 version has upgraded,you can update x5.gradle by yourself.
To contact me for any problems about this cordova-plugin-webview-x5!
https://github.com/liuxiaoy/cordova-plugin-webview-x5/issues
</info>
</platform>
</plugin>