@tak-ps/cloudtak 13.11.4 → 13.12.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.
|
@@ -4,7 +4,7 @@ export declare class GeolocationPermission {
|
|
|
4
4
|
private readonly context;
|
|
5
5
|
constructor(context: DevicePermissionContext);
|
|
6
6
|
private watchId;
|
|
7
|
-
private
|
|
7
|
+
private backgroundWatchActive;
|
|
8
8
|
private locationCallback;
|
|
9
9
|
private static normalizeNativeLocationPermission;
|
|
10
10
|
static supportsLocationRequests(): boolean;
|
|
@@ -12,9 +12,9 @@ export declare class GeolocationPermission {
|
|
|
12
12
|
static requestNativeLocationPermission(): Promise<PermissionState | 'prompt' | 'unknown'>;
|
|
13
13
|
static getCurrentLocation(options?: PositionOptions): Promise<Position>;
|
|
14
14
|
static watchLocation(options: PositionOptions, callback: (position: Position | null, err?: unknown) => void): Promise<CallbackID>;
|
|
15
|
-
static
|
|
15
|
+
static startBackgroundLocation(callback: (position: Position | null, err?: unknown) => void): Promise<void>;
|
|
16
16
|
static clearLocationWatch(id: CallbackID): Promise<void>;
|
|
17
|
-
static
|
|
17
|
+
static stopBackgroundLocation(): Promise<void>;
|
|
18
18
|
private static backgroundLocationToPosition;
|
|
19
19
|
stopWatch(): Promise<void>;
|
|
20
20
|
startWatch(onLocation: (position: Position) => void): Promise<void>;
|
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.12.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"url": "git+https://github.com/dfpc-coe/CloudTAK.git"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@capacitor-community/background-geolocation": "^1.2.26",
|
|
33
32
|
"@capacitor-community/keep-awake": "^8.0.1",
|
|
34
33
|
"@capacitor-firebase/messaging": "^8.2.0",
|
|
35
34
|
"@capacitor/app": "^8.1.0",
|
|
@@ -42,6 +41,7 @@
|
|
|
42
41
|
"@capacitor/keyboard": "^8.0.3",
|
|
43
42
|
"@capacitor/preferences": "^8.0.1",
|
|
44
43
|
"@capacitor/status-bar": "^8.0.2",
|
|
44
|
+
"@capgo/background-geolocation": "^8.0.39",
|
|
45
45
|
"@mapbox/tile-cover": "^3.0.2",
|
|
46
46
|
"@simplewebauthn/browser": "^13.3.0",
|
|
47
47
|
"@tabler/core": "^1.4.0",
|