forked from becvert/cordova-plugin-zeroconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
47 lines (43 loc) · 2.01 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-zeroconf"
version="1.4.2">
<name>ZeroConf</name>
<description>ZeroConf plugin for Cordova/Phonegap</description>
<author>Sylvain Bréjeon</author>
<keywords>cordova,plugin,network,zeroconf,bonjour,mdns,service,discovery</keywords>
<license>MIT</license>
<platform name="android">
<js-module src="www/zeroconf.js" name="ZeroConf">
<clobbers target="cordova.plugins.zeroconf" />
</js-module>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ZeroConf">
<param name="android-package" value="net.becvert.cordova.ZeroConf" />
</feature>
</config-file>
<source-file src="src/android/net/becvert/cordova/ZeroConf.java" target-dir="src/net/becvert/cordova" />
<framework src="org.jmdns:jmdns:3.5.5" />
</platform>
<platform name="ios">
<js-module src="www/zeroconf.js" name="ZeroConf">
<clobbers target="cordova.plugins.zeroconf" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="ZeroConf">
<param name="ios-package" value="ZeroConf"/>
</feature>
</config-file>
<header-file src="src/ios/ZeroConf-Bridging-Header.h"/>
<source-file src="src/ios/ZeroConf.swift"/>
<header-file src="src/ios/Hostname.h"/>
<source-file src="src/ios/Hostname.m"/>
</platform>
<dependency id="cordova-plugin-add-swift-support" version="^2.0.2"/>
</plugin>