diff --git a/plugins/haptics/README.md b/plugins/haptics/README.md index 3678f17b..49013d92 100644 --- a/plugins/haptics/README.md +++ b/plugins/haptics/README.md @@ -73,13 +73,14 @@ Second, add the required permissions in the project: `src-tauri/capabilities/default.json` -```rust +```json "permissions": [ +"haptics:allow-impact-feedback", +"haptics:allow-notification-feedback", +"haptics:allow-selection-feedback", +"haptics:allow-vibrate" - ]``` + ] +``` Afterwards all the plugin's APIs are available through the JavaScript guest bindings: