-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
45 lines (34 loc) · 1.72 KB
/
Copy pathplugin.xml
File metadata and controls
45 lines (34 loc) · 1.72 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="edu.uic.travelmidwest.cordova.udptransmit" version="0.0.1">
<!-- Metadata ================================================================== -->
<name>UDPTransmit</name>
<description>UDP Plugin which supports UDP API</description>
<license>Apache 2.0</license>
<keywords>UDP,udp</keywords>
<!-- The common JavaScript file for all mobile platforms ======================= -->
<js-module src="www/udptransmit.js" name="udptransmit">
<merges target="udptransmit"/>
</js-module>
<!-- iOS-specific Objective-C source code ====================================== -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="UDPTransmit">
<param name="ios-package" value="UDPTransmit"/>
</feature>
</config-file>
<header-file src="src/ios/UDPTransmit.h" />
<source-file src="src/ios/UDPTransmit.m" />
</platform>
<!-- Android-specific Java source code ========================================= -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<!-- This is the name used for service name in cordova.exec -->
<feature name="UDPTransmit" >
<!-- This tells cordova which java class to load for this plugin -->
<param name="android-package" value="edu.uic.udptransmit.UDPTransmit"/>
</feature>
</config-file>
<source-file src="src/android/UDPTransmit.java" target-dir="src/edu/uic/udptransmit/" />
</platform>
<!-- =========================================================================== -->
</plugin>