-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
44 lines (36 loc) · 1.68 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-network-permission"
version="1.0.0">
<engines>
<engine name="cordova" version=">=6.5.0" />
</engines>
<name>Network Access Permission Request for Cordova Apps</name>
<keywords>cordova,permission,network</keywords>
<repo>https://github.com/j5int/cordova-plugin-network-permission</repo>
<issue>https://github.com/j5int/cordova-plugin-network-permission/issues</issue>
<js-module src="www/localNetworkPermission.js" name="localNetworkPermission">
<clobbers target="localNetworkPermission" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="LocalNetworkPermission">
<param name="ios-package" value="LocalNetworkPermission" />
</feature>
</config-file>
<source-file src="src/ios/LocalNetworkPrivacy.swift" />
<source-file src="src/ios/LocalNetworkPermission.swift" />
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
<config-file overwrite="true" parent="NSLocalNetworkUsageDescription" target="*-Info.plist">
<string>This app will be able to discover and connect to devices on the networks you use.</string>
</config-file>
<config-file overwrite="true" parent="NSLocalNetworkUsageDescription" target="*-Info.plist">
<string>This app will be able to discover and connect to devices on the networks you use.</string>
</config-file>
<config-file overwrite="true" parent="NSBonjourServices" target="*-Info.plist">
<array>
<string>_lnp._tcp.</string>
</array>
</config-file>
</platform>
</plugin>