forked from phodal-archive/cordova-plugin-coap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·67 lines (50 loc) · 2.31 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
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-coap"
version="0.0.1">
<name>CoapClient</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/CoapClient.js" target="js/CoapClient.js"/>
<js-module src="www/CoapClient.js" name="CoapClient">
<clobbers target="CoapClient" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Coap">
<param name="android-package" value="com.phodal.plugin.Coap"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/Coap.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/CordovaCoapClient.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/RequestOptions.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/ResponseResult.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/MediaTypeResult.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/DataTypeConverter.java" target-dir="src/com/phodal/plugin/"/>
<source-file src="src/android/ResourceResult.java" target-dir="src/com/phodal/plugin/"/>
</platform>
<platform name="ios">
<hook type="after_plugin_install" src="hooks/add_swift_support.js" />
<config-file target="config.xml" parent="/widget">
<feature name="Coap">
<param name="ios-package" value="HWCoapPlugin" />
</feature>
</config-file>
<header-file src="src/ios/GCDAsyncUdpSocket.h"/>
<source-file src="src/ios/GCDAsyncUdpSocket.m"/>
<header-file src="src/ios/CoAP-Bridging-Header.h"/>
<source-file src="src/ios/SCClient.swift"/>
<source-file src="src/ios/SCMessage.swift"/>
<source-file src="src/ios/SCServer.swift"/>
<source-file src="src/ios/Coap.swift"/>
</platform>
<platform name="wp7">
<source-file src="src/wp7/Hello.cs"/>
</platform>
</plugin>