community-cordova-plugin-wifi 1.0.5 → 1.0.6
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 +23 -6
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/types/index.d.ts +6 -6
package/.idea/workspace.xml
CHANGED
|
@@ -4,12 +4,10 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="5a269414-5baa-4c38-b2f3-50c21d305b88" name="Changes" comment="
|
|
7
|
+
<list default="true" id="5a269414-5baa-4c38-b2f3-50c21d305b88" name="Changes" comment="* add export to all interfaces">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
9
9
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
10
10
|
<change beforePath="$PROJECT_DIR$/plugin.xml" beforeDir="false" afterPath="$PROJECT_DIR$/plugin.xml" afterDir="false" />
|
|
11
|
-
<change beforePath="$PROJECT_DIR$/src/android/IpInfoUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/android/IpInfoUtils.java" afterDir="false" />
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/src/android/WifiPlugin.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/android/WifiPlugin.java" afterDir="false" />
|
|
13
11
|
</list>
|
|
14
12
|
<option name="SHOW_DIALOG" value="false" />
|
|
15
13
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -99,7 +97,8 @@
|
|
|
99
97
|
<workItem from="1722058180072" duration="23000" />
|
|
100
98
|
<workItem from="1722059814051" duration="697000" />
|
|
101
99
|
<workItem from="1722061550247" duration="21000" />
|
|
102
|
-
<workItem from="1723267322946" duration="
|
|
100
|
+
<workItem from="1723267322946" duration="7018000" />
|
|
101
|
+
<workItem from="1723350101711" duration="89000" />
|
|
103
102
|
</task>
|
|
104
103
|
<task id="LOCAL-00001" summary="update plugin">
|
|
105
104
|
<option name="closed" value="true" />
|
|
@@ -173,7 +172,23 @@
|
|
|
173
172
|
<option name="project" value="LOCAL" />
|
|
174
173
|
<updated>1711187013726</updated>
|
|
175
174
|
</task>
|
|
176
|
-
<
|
|
175
|
+
<task id="LOCAL-00010" summary="* isConnectedToTheInternet - Support SDK>29 * added exceptions handling when not connected to the internet">
|
|
176
|
+
<option name="closed" value="true" />
|
|
177
|
+
<created>1723275809818</created>
|
|
178
|
+
<option name="number" value="00010" />
|
|
179
|
+
<option name="presentableId" value="LOCAL-00010" />
|
|
180
|
+
<option name="project" value="LOCAL" />
|
|
181
|
+
<updated>1723275809818</updated>
|
|
182
|
+
</task>
|
|
183
|
+
<task id="LOCAL-00011" summary="* add export to all interfaces">
|
|
184
|
+
<option name="closed" value="true" />
|
|
185
|
+
<created>1723350160378</created>
|
|
186
|
+
<option name="number" value="00011" />
|
|
187
|
+
<option name="presentableId" value="LOCAL-00011" />
|
|
188
|
+
<option name="project" value="LOCAL" />
|
|
189
|
+
<updated>1723350160378</updated>
|
|
190
|
+
</task>
|
|
191
|
+
<option name="localTasksCounter" value="12" />
|
|
177
192
|
<servers />
|
|
178
193
|
</component>
|
|
179
194
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -193,6 +208,8 @@
|
|
|
193
208
|
<component name="VcsManagerConfiguration">
|
|
194
209
|
<MESSAGE value="update plugin" />
|
|
195
210
|
<MESSAGE value="fixed progress bar in Ping" />
|
|
196
|
-
<
|
|
211
|
+
<MESSAGE value="* isConnectedToTheInternet - Support SDK>29 * added exceptions handling when not connected to the internet" />
|
|
212
|
+
<MESSAGE value="* add export to all interfaces" />
|
|
213
|
+
<option name="LAST_COMMIT_MESSAGE" value="* add export to all interfaces" />
|
|
197
214
|
</component>
|
|
198
215
|
</project>
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface WifiNetwork {
|
|
1
|
+
export interface WifiNetwork {
|
|
2
2
|
SSID: string;
|
|
3
3
|
BSSID: string;
|
|
4
4
|
capabilities: string;
|
|
@@ -9,7 +9,7 @@ interface WifiNetwork {
|
|
|
9
9
|
distance: string;
|
|
10
10
|
hasPassword: boolean;
|
|
11
11
|
}
|
|
12
|
-
interface NetworkDetails {
|
|
12
|
+
export interface NetworkDetails {
|
|
13
13
|
type: string;
|
|
14
14
|
state: string;
|
|
15
15
|
isConnected: boolean;
|
|
@@ -17,7 +17,7 @@ interface NetworkDetails {
|
|
|
17
17
|
canConnectToRouter?: boolean;
|
|
18
18
|
isConnectedToWifi?: boolean;
|
|
19
19
|
}
|
|
20
|
-
interface ConnectedDeviceInfo {
|
|
20
|
+
export interface ConnectedDeviceInfo {
|
|
21
21
|
ipAddress: string;
|
|
22
22
|
deviceName: string;
|
|
23
23
|
localHost: boolean;
|
|
@@ -28,7 +28,7 @@ interface ConnectedDeviceInfo {
|
|
|
28
28
|
siteLocalAddress: boolean;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
interface WifiDetails {
|
|
31
|
+
export interface WifiDetails {
|
|
32
32
|
iswifienabled: boolean;
|
|
33
33
|
issupportwifi: boolean;
|
|
34
34
|
ssid: string;
|
|
@@ -48,7 +48,7 @@ interface WifiDetails {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
interface PingResponse {
|
|
51
|
+
export interface PingResponse {
|
|
52
52
|
line?: string;
|
|
53
53
|
fullResponse?: string;
|
|
54
54
|
progress?: number;
|
|
@@ -56,7 +56,7 @@ interface PingResponse {
|
|
|
56
56
|
linesRead?: number;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
interface IpInfo {
|
|
59
|
+
export interface IpInfo {
|
|
60
60
|
type: string;
|
|
61
61
|
signal: number;
|
|
62
62
|
speed: number;
|