Skip to content

Commit 8a4a672

Browse files
authored
Usage conditions in README (#25)
* Add usage conditions * Add usage conditions
1 parent d17c249 commit 8a4a672

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ This native Node.js module allows you to manage an app's access to:
2222
* Speech Recognition
2323
* Protected Folders
2424

25+
If you need to ask for permissions, your app must be allowed to ask for permission :
26+
27+
* for a Nodejs script/app, you can use a terminal app such as [iTerm2](https://iterm2.com/) (it won't work on macOS Terminal.app)
28+
* for an Electron app (or equivalent), you'll have to update `Info.plist` to include a usage description key like `NSMicrophoneUsageDescription` for microphone permission.
29+
2530
## API
2631

2732
## `permissions.getAuthStatus(type)`

0 commit comments

Comments
 (0)