From 09b51339d3c686321d3082f973532a741da7756e Mon Sep 17 00:00:00 2001 From: Dominic Moser Date: Tue, 4 Feb 2025 08:08:23 -0700 Subject: [PATCH] Actual Documentation Update Fixed Prettier test in github wasn't passing. Made json file format. --- plugins/haptics/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: