-
Notifications
You must be signed in to change notification settings - Fork 25
/
plugin.xml
48 lines (40 loc) · 1.63 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-tun2socks" version="1.0.0">
<name>Tun2Socks</name>
<description>Tun2Socks for Android</description>
<license>Apache 2.0</license>
<keywords>cordova,tun2socks,badvpn</keywords>
<engines>
<engine name="cordova-android" version=">=4.0.0-dev" />
</engines>
<js-module src="tun2socks.js" name="tun2socks">
<clobbers target="tun2socks" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Tun2Socks">
<param name="android-package" value="org.uproxy.tun2socks.Tun2Socks" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:name="org.uproxy.tun2socks.TunnelVpnService"
android:exported="false"
android:label="@string/app_name"
android:permission="android.permission.BIND_VPN_SERVICE" />
</config-file>
<source-file
src="android/java/org/uproxy/tun2socks"
target-dir="src/org/uproxy/tun2socks" />
<source-file
src="android/libs/armeabi-v7a/libtun2socks.so"
target-dir="libs/armeabi-v7a" />
<framework src="android/java/build-extras.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>