-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
62 lines (59 loc) · 4.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
60
61
62
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-esptouch" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-esptouch</name>
<js-module name="esptouch" src="www/cordova-plugin-esptouch.js">
<clobbers target="esptouch" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Esptouch">
<param name="android-package" value="com.thomas.esptouch.Esptouch"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
</config-file>
<source-file src="src/android/src/com/thomas/esptouch/__EsptouchTask.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/__IEsptouchTask.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/ByteUtil.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/CRC8.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/DataCode.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/DatumCode.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EspNetUtil.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/Esptouch.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EsptouchGenerator.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EsptouchResult.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EsptouchTask.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EsptouchTaskParameter.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/EspWifiAdminSimple.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/GuideCode.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/ICodeData.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/IEsptouchGenerator.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/IEsptouchListener.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/IEsptouchResult.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/IEsptouchTask.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/IEsptouchTaskParameter.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/UDPSocketClient.java" target-dir="src/com/thomas/esptouch" />
<source-file src="src/android/src/com/thomas/esptouch/UDPSocketServer.java" target-dir="src/com/thomas/esptouch" />
</platform>
<!-- ios platform -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Esptouch">
<param name="ios-package" value="esptouchPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/esptouchPlugin.h"/>
<source-file src="src/ios/esptouchPlugin.m"/>
<source-file src="src/ios/esptouch"/>
<framework src="CoreGraphics.framework" />
<framework src="UIKit.framework" />
<framework src="Foundation.framework" />
</platform>
</plugin>