@tak-ps/cloudtak 13.63.0 → 13.65.0
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.
|
@@ -1,10 +1,42 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConnectionType } from '@capawesome/capacitor-network';
|
|
2
|
+
/**
|
|
3
|
+
* Network status exposed by `@capawesome/capacitor-network` 0.1.3.
|
|
4
|
+
*
|
|
5
|
+
* A connection, including validated public internet access, does not guarantee
|
|
6
|
+
* that the configured TAK server is reachable.
|
|
7
|
+
*/
|
|
2
8
|
export declare class NetworkStatus {
|
|
3
9
|
private online;
|
|
4
10
|
private connectionType;
|
|
11
|
+
private constrained;
|
|
12
|
+
private expensive;
|
|
13
|
+
private ultraConstrained;
|
|
14
|
+
private reachable;
|
|
5
15
|
private listener;
|
|
6
16
|
get isOnline(): boolean;
|
|
7
17
|
get type(): ConnectionType;
|
|
18
|
+
/**
|
|
19
|
+
* Android: metered network with background data restricted by Data Saver.
|
|
20
|
+
* iOS: Low Data Mode. Web: `navigator.connection.saveData`, if available.
|
|
21
|
+
*/
|
|
22
|
+
get isConstrained(): boolean | null;
|
|
23
|
+
/**
|
|
24
|
+
* Android: metered network. iOS: `NWPath.isExpensive`. Unsupported on Web.
|
|
25
|
+
*/
|
|
26
|
+
get isExpensive(): boolean | null;
|
|
27
|
+
/**
|
|
28
|
+
* Conservative minimize-data signal, not proof of a satellite connection.
|
|
29
|
+
* Android: satellite on 15+, or bandwidth-constrained when API 36 or
|
|
30
|
+
* U Extensions 16 is available.
|
|
31
|
+
* iOS: `NWPath.isUltraConstrained` on 26+. Unsupported on Web.
|
|
32
|
+
*/
|
|
33
|
+
get isUltraConstrained(): boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Android-validated public internet access. Unsupported on iOS and Web.
|
|
36
|
+
* This does not indicate whether the configured TAK server is reachable.
|
|
37
|
+
*/
|
|
38
|
+
get isInternetReachable(): boolean | null;
|
|
8
39
|
init(): Promise<void>;
|
|
9
40
|
destroy(): Promise<void>;
|
|
41
|
+
private update;
|
|
10
42
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/cloudtak",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.65.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@capacitor/geolocation": "^8.1.0",
|
|
42
42
|
"@capacitor/haptics": "^8.0.2",
|
|
43
43
|
"@capacitor/keyboard": "^8.0.3",
|
|
44
|
-
"@capacitor/network": "^8.0.1",
|
|
45
44
|
"@capacitor/preferences": "^8.0.1",
|
|
46
45
|
"@capacitor/status-bar": "^8.0.2",
|
|
46
|
+
"@capawesome/capacitor-network": "0.1.3",
|
|
47
47
|
"@capgo/background-geolocation": "^8.0.39",
|
|
48
48
|
"@capgo/capacitor-compass": "^8.1.17",
|
|
49
49
|
"@capgo/capacitor-updater": "^8.50.1",
|