forked from scottdermott/cordova-plugin-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
48 lines (35 loc) · 1.38 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://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-discovery"
version="0.2.3">
<name>serviceDiscovery</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/serviceDiscovery.js" target="js/serviceDiscovery.js"/>
<js-module src="www/serviceDiscovery.js" name="serviceDiscovery">
<clobbers target="serviceDiscovery" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="serviceDiscovery">
<param name="android-package" value="com.scott.plugin.serviceDiscovery"/>
</feature>
</config-file>
<source-file src="src/android/serviceDiscovery.java" target-dir="src/com/scott/plugin/"/>
<source-file src="src/android/cordovaSSDP.java" target-dir="src/com/scott/plugin/"/>
<!-- Requires 3rd party HTTP lib -->
<framework src="com.loopj.android:android-async-http:1.4.9" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="serviceDiscovery">
<param name="ios-package" value="serviceDiscovery" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/serviceDiscovery.h" />
<source-file src="src/ios/serviceDiscovery.m" />
</platform>
</plugin>