@capacitor/geolocation 6.0.0-rc.0 → 6.0.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.
- package/Package.swift +4 -4
- package/README.md +0 -11
- package/dist/docs.json +0 -11
- package/package.json +6 -6
package/Package.swift
CHANGED
|
@@ -6,18 +6,18 @@ let package = Package(
|
|
|
6
6
|
platforms: [.iOS(.v13)],
|
|
7
7
|
products: [
|
|
8
8
|
.library(
|
|
9
|
-
name: "
|
|
9
|
+
name: "CapacitorGeolocation",
|
|
10
10
|
targets: ["GeolocationPlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
|
|
14
14
|
],
|
|
15
15
|
targets: [
|
|
16
16
|
.target(
|
|
17
17
|
name: "GeolocationPlugin",
|
|
18
18
|
dependencies: [
|
|
19
|
-
.product(name: "Capacitor", package: "
|
|
20
|
-
.product(name: "Cordova", package: "
|
|
19
|
+
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
20
|
+
.product(name: "Cordova", package: "capacitor-swift-pm")
|
|
21
21
|
],
|
|
22
22
|
path: "ios/Sources/GeolocationPlugin"),
|
|
23
23
|
.testTarget(
|
package/README.md
CHANGED
|
@@ -203,17 +203,6 @@ Request location permissions. Will throw if system location services are disabl
|
|
|
203
203
|
### Type Aliases
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
#### Position
|
|
207
|
-
|
|
208
|
-
A <a href="#position">Position</a> is an array of coordinates.
|
|
209
|
-
https://tools.ietf.org/html/rfc7946#section-3.1.1
|
|
210
|
-
Array should contain between two and three elements.
|
|
211
|
-
The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
|
|
212
|
-
but the current specification only allows X, Y, and (optionally) Z to be defined.
|
|
213
|
-
|
|
214
|
-
<code>number[]</code>
|
|
215
|
-
|
|
216
|
-
|
|
217
206
|
#### WatchPositionCallback
|
|
218
207
|
|
|
219
208
|
<code>(position: <a href="#position">Position</a> | null, err?: any): void</code>
|
package/dist/docs.json
CHANGED
|
@@ -293,17 +293,6 @@
|
|
|
293
293
|
],
|
|
294
294
|
"enums": [],
|
|
295
295
|
"typeAliases": [
|
|
296
|
-
{
|
|
297
|
-
"name": "Position",
|
|
298
|
-
"slug": "position",
|
|
299
|
-
"docs": "A Position is an array of coordinates.\nhttps://tools.ietf.org/html/rfc7946#section-3.1.1\nArray should contain between two and three elements.\nThe previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),\nbut the current specification only allows X, Y, and (optionally) Z to be defined.",
|
|
300
|
-
"types": [
|
|
301
|
-
{
|
|
302
|
-
"text": "number[]",
|
|
303
|
-
"complexTypes": []
|
|
304
|
-
}
|
|
305
|
-
]
|
|
306
|
-
},
|
|
307
296
|
{
|
|
308
297
|
"name": "WatchPositionCallback",
|
|
309
298
|
"slug": "watchpositioncallback",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/geolocation",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "The Geolocation API provides simple methods for getting and tracking the current position of the device using GPS, along with altitude, heading, and speed information if available.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"publish:cocoapod": "pod trunk push ./CapacitorGeolocation.podspec --allow-warnings"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@capacitor/android": "
|
|
51
|
-
"@capacitor/core": "
|
|
50
|
+
"@capacitor/android": "^6.0.0",
|
|
51
|
+
"@capacitor/core": "^6.0.0",
|
|
52
52
|
"@capacitor/docgen": "0.2.2",
|
|
53
|
-
"@capacitor/ios": "
|
|
53
|
+
"@capacitor/ios": "^6.0.0",
|
|
54
54
|
"@ionic/eslint-config": "^0.3.0",
|
|
55
55
|
"@ionic/prettier-config": "~1.0.1",
|
|
56
56
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"typescript": "~4.1.5"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@capacitor/core": "
|
|
66
|
+
"@capacitor/core": "^6.0.0"
|
|
67
67
|
},
|
|
68
68
|
"prettier": "@ionic/prettier-config",
|
|
69
69
|
"swiftlint": "@ionic/swiftlint-config",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "00edb1fe8a21311887ea1532e37271ecb7314bed"
|
|
85
85
|
}
|