Skip to content

Commit 8798130

Browse files
authored
Update README.md
prettier changes
1 parent d05ba1f commit 8798130

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

plugins/geolocation/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,12 @@ fn main() {
9191
.expect("error while running tauri application");
9292
}
9393
```
94-
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`
95-
```
94+
95+
Then, for instance, grant the plugin the permission to check or request permissions from the user and to read the device position
96+
97+
`src-tauri/capabilities/default.json`
98+
99+
```json
96100
"permissions": [
97101
"core:default",
98102
"geolocation:allow-check-permissions",
@@ -101,6 +105,7 @@ Then, for instance, grant the plugin the permission to check or request permissi
101105
"geolocation:allow-watch-position",
102106
]
103107
```
108+
104109
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
105110

106111
```javascript

0 commit comments

Comments
 (0)