@octane-xplat/geolocation 0.12.0 → 0.13.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.
Files changed (2) hide show
  1. package/README.md +0 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -23,15 +23,6 @@ implementation exists on this target, `ensure()` resolves
23
23
  defers the prompt), and `impl` is the service once usable. Nullable
24
24
  `altitude`/`heading`/`speed` mean the platform did not report them.
25
25
 
26
- ```ts
27
- import { geolocation } from '@octane-xplat/geolocation'
28
-
29
- if ((await geolocation.ensure()) === 'granted') {
30
- const pos = await geolocation.impl!.getCurrentPosition()
31
- // { latitude, longitude, accuracy, altitude, heading, speed, timestamp }
32
- }
33
- ```
34
-
35
26
  Guide: [Using device features](../../docs/platform/platform-services.md);
36
27
  per-target availability: [platform notes](../../docs/notes/platform-notes.md).
37
28
  Exercised by the harness `Services` screen
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/geolocation",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Device geolocation for Octane xplat — matching web + NativeScript implementations",
5
5
  "keywords": [
6
6
  "android",
@@ -41,7 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@nativescript-community/octane": "0.2.4",
43
43
  "@nativescript/core": "9.1.3",
44
- "octane": "0.10.2"
44
+ "octane": "0.11.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@nativescript-community/octane": ">=0.2.1 <1",