community-cordova-plugin-wifi 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/workspace.xml +21 -11
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/IpInfoUtils.java +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -6,16 +6,8 @@
|
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
7
|
<list default="true" id="5a269414-5baa-4c38-b2f3-50c21d305b88" name="Changes" comment="update plugin">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
10
9
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
11
|
-
<change beforePath="$PROJECT_DIR$/
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/src/android/IpInfoUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/android/IpInfoUtils.java" afterDir="false" />
|
|
13
|
-
<change beforePath="$PROJECT_DIR$/src/android/WifiDetailsUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/android/WifiDetailsUtils.java" afterDir="false" />
|
|
14
|
-
<change beforePath="$PROJECT_DIR$/src/android/WifiUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/android/WifiUtils.java" afterDir="false" />
|
|
15
|
-
<change beforePath="$PROJECT_DIR$/src/ios/CpuPlugin.h" beforeDir="false" />
|
|
16
|
-
<change beforePath="$PROJECT_DIR$/src/ios/CpuPlugin.m" beforeDir="false" />
|
|
17
|
-
<change beforePath="$PROJECT_DIR$/types/index.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/types/index.d.ts" afterDir="false" />
|
|
18
|
-
<change beforePath="$PROJECT_DIR$/www/plugin.js" beforeDir="false" afterPath="$PROJECT_DIR$/www/plugin.js" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/plugin.xml" beforeDir="false" afterPath="$PROJECT_DIR$/plugin.xml" afterDir="false" />
|
|
19
11
|
</list>
|
|
20
12
|
<option name="SHOW_DIALOG" value="false" />
|
|
21
13
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -97,7 +89,9 @@
|
|
|
97
89
|
<workItem from="1708181011949" duration="10604000" />
|
|
98
90
|
<workItem from="1708240272493" duration="19053000" />
|
|
99
91
|
<workItem from="1709102390279" duration="5116000" />
|
|
100
|
-
<workItem from="1709959064513" duration="
|
|
92
|
+
<workItem from="1709959064513" duration="9732000" />
|
|
93
|
+
<workItem from="1710582743464" duration="1835000" />
|
|
94
|
+
<workItem from="1710593259268" duration="300000" />
|
|
101
95
|
</task>
|
|
102
96
|
<task id="LOCAL-00001" summary="update plugin">
|
|
103
97
|
<option name="closed" value="true" />
|
|
@@ -147,7 +141,23 @@
|
|
|
147
141
|
<option name="project" value="LOCAL" />
|
|
148
142
|
<updated>1709190191610</updated>
|
|
149
143
|
</task>
|
|
150
|
-
<
|
|
144
|
+
<task id="LOCAL-00007" summary="update plugin">
|
|
145
|
+
<option name="closed" value="true" />
|
|
146
|
+
<created>1710226368210</created>
|
|
147
|
+
<option name="number" value="00007" />
|
|
148
|
+
<option name="presentableId" value="LOCAL-00007" />
|
|
149
|
+
<option name="project" value="LOCAL" />
|
|
150
|
+
<updated>1710226368210</updated>
|
|
151
|
+
</task>
|
|
152
|
+
<task id="LOCAL-00008" summary="update plugin">
|
|
153
|
+
<option name="closed" value="true" />
|
|
154
|
+
<created>1710593285324</created>
|
|
155
|
+
<option name="number" value="00008" />
|
|
156
|
+
<option name="presentableId" value="LOCAL-00008" />
|
|
157
|
+
<option name="project" value="LOCAL" />
|
|
158
|
+
<updated>1710593285324</updated>
|
|
159
|
+
</task>
|
|
160
|
+
<option name="localTasksCounter" value="9" />
|
|
151
161
|
<servers />
|
|
152
162
|
</component>
|
|
153
163
|
<component name="TypeScriptGeneratedFilesManager">
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
id="community-cordova-plugin-wifi"
|
|
5
|
-
version="1.0.
|
|
6
|
-
<name>Cordova Plugin
|
|
5
|
+
version="1.0.2">
|
|
6
|
+
<name>Cordova Plugin Wifi</name>
|
|
7
7
|
<description></description>
|
|
8
8
|
<license>MIT</license>
|
|
9
9
|
<keywords></keywords>
|
|
@@ -45,7 +45,7 @@ public class IpInfoUtils {
|
|
|
45
45
|
for (Network network : networks) {
|
|
46
46
|
NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);
|
|
47
47
|
|
|
48
|
-
if (networkInfo != null && networkInfo.isConnected()
|
|
48
|
+
if (networkInfo != null && networkInfo.isConnected() ) {
|
|
49
49
|
WifiInfo wifiInfo = wifiManager.getConnectionInfo();
|
|
50
50
|
DhcpInfo dhcpInfo = wifiManager.getDhcpInfo(); // Get DHCP info for DNS details
|
|
51
51
|
|