-
Notifications
You must be signed in to change notification settings - Fork 15
/
plugin.xml
51 lines (40 loc) · 2 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-wifi-manager" version="0.5.0">
<name>WiFiManager</name>
<description>Wi-Fi Manager Plugin for Apache Cordova</description>
<license>MIT</license>
<keywords>cordova,wifi</keywords>
<repo>https://github.com/sushichop/cordova-plugin-wifi-manager.git</repo>
<js-module src="www/wifiManager.js" name="wifiManager">
<clobbers target="wifiManager" />
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="WiFiManager">
<param name="android-package" value="net.sushichop.cordova.wifimanager.WiFiManagerPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
</config-file>
<source-file src="src/android/WiFiManagerPlugin.java" target-dir="src/net/sushichop/cordova/wifimanager/" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="WiFiManager">
<param name="ios-package" value="SCPWiFiManagerPlugin" />
</feature>
</config-file>
<config-file parent="com.apple.developer.networking.HotspotConfiguration" target="*/Entitlements-Debug.plist">
<true />
</config-file>
<config-file parent="com.apple.developer.networking.HotspotConfiguration" target="*/Entitlements-Release.plist">
<true />
</config-file>
<header-file src="src/ios/SCPWiFiManagerPlugin.h" />
<source-file src="src/ios/SCPWiFiManagerPlugin.m" />
<framework src="NetworkExtension.framework" />
</platform>
</plugin>