-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathplugin.xml
59 lines (48 loc) · 3.4 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
56
57
58
59
<?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-x5-tbs"
version="3.7.0">
<name>Tencent X5 for Cordova</name>
<description>Use Tencent Browser Service(TBS) instead of System WebView for Cordova App</description>
<license>Apache 2.0</license>
<keywords>x5,tencent,tbs,webview</keywords>
<repo>https://github.com/zsxsoft/cordova-plugin-x5-tbs</repo>
<issue>https://github.com/zsxsoft/cordova-plugin-x5-tbs/issues</issue>
<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="com.zsxsoft.cordova.x5.X5WebViewEngine"/>
<preference name="appUserAgent" value="appX5"/>
</config-file>
<edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- 硬件加速对X5视频播放非常重要,建议开启 -->
<uses-permission android:name="android.permission.GET_TASKS" />
</edit-config>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5CookieManager.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5CordovaClientCertRequest.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5CordovaHttpAuthHandler.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5ExposedJsApi.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5WebChromeClient.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5WebView.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5WebViewClient.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<source-file src="platforms/android/src/com/zsxsoft/cordova/x5/X5WebViewEngine.java" target-dir="src/com/zsxsoft/cordova/x5"/>
<lib-file src="platforms/android/libs/tbs_sdk_thirdapp_v4.3.0.1148_43697_sharewithdownloadwithfile_withoutGame_obfs_20190805_175505.jar" />
<source-file src="platforms/android/libs/armeabi/liblbs.so" target-dir="libs/armeabi/" />
</platform>
<info>
</info>
</plugin>