Then, for instance, grant the plugin the permission to check or request permissions from the user and to read the device position in the file `src-tauri/capabilities/default.json`
```
Then, for instance, grant the plugin the permission to check or request permissions from the user and to read the device position
`src-tauri/capabilities/default.json`
```json
"permissions": [
"permissions": [
"core:default",
"core:default",
"geolocation:allow-check-permissions",
"geolocation:allow-check-permissions",
@ -101,6 +105,7 @@ Then, for instance, grant the plugin the permission to check or request permissi
"geolocation:allow-watch-position",
"geolocation:allow-watch-position",
]
]
```
```
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
Afterwards all the plugin's APIs are available through the JavaScript guest bindings: