@crossbind/extension-page-location 2.0.0-beta.75 → 2.0.0-beta.79
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
navigator.geolocation on macOS, which WKWebView leaves out.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It comes with `@crossbind/core-app-host`: there is nothing to install or list.
|
|
6
6
|
|
|
7
7
|
## What it does
|
|
8
8
|
|
|
9
|
-
A macOS page gets `navigator.geolocation`, which WKWebView
|
|
10
|
-
|
|
9
|
+
A macOS page gets `navigator.geolocation`, which WKWebView does not give it, when `app.permissions` lists the location.
|
|
10
|
+
The system asks its user first.
|
|
11
11
|
|
|
12
12
|
## Options
|
|
13
13
|
|
|
@@ -19,6 +19,6 @@ macOS alone.
|
|
|
19
19
|
|
|
20
20
|
## Replace or leave out
|
|
21
21
|
|
|
22
|
-
It holds the role `page-location`. An extension
|
|
22
|
+
It holds the role `page-location`. An extension with `replaces: 'page-location'` takes it; `app: { without: ['page-location'] }` in `crossbind.config.js` leaves it out. Leaving it out while `app.permissions.location` is set stops the build. [The guide](https://crossbind.dev/guide/extensions/#replace) shows how, and [extensions.md](https://github.com/crossbind/crossbind/blob/main/docs/api/extensions.md#the-hosts-own-extensions) what a replacement answers.
|
|
23
23
|
|
|
24
24
|
[extensions.md](https://github.com/crossbind/crossbind/blob/main/docs/api/extensions.md#the-pages-requests) has the hooks a replacement answers.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/extension-page-location",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.79",
|
|
4
4
|
"description": "crossbind app extension: navigator.geolocation on macOS, which WKWebView leaves out.",
|
|
5
5
|
"homepage": "https://github.com/crossbind/crossbind/tree/main/extensions/page-location#readme",
|
|
6
6
|
"repository": {
|