You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no API for programmatically requesting Full Disk Access on macOS at this time, and so calling this method will trigger opening of System Preferences at the Full Disk pane of Security and Privacy.
@@ -126,9 +127,9 @@ Returns `Promise<String>` - Current permission status; can be `authorized`, `den
126
127
127
128
Checks the authorization status for camera access. If the status check returns:
128
129
129
-
-`not determined`, the camera access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
130
-
-`denied`, the`Security & Privacy` System Preferences window is opened with the Camera privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
131
-
-`restricted`, the Promise is resolved as `restricted`.
130
+
*`not determined` - The camera access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
131
+
*`denied` - The`Security & Privacy` System Preferences window is opened with the Camera privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
132
+
*`restricted` - The Promise is resolved as `restricted`.
132
133
133
134
Your app must provide an explanation for its use of capture devices using the `NSCameraUsageDescription``Info.plist` key; Calling this method or attempting to start a capture session without a usage description raises an exception.
134
135
@@ -155,9 +156,9 @@ Returns `Promise<String>` - Current permission status; can be `authorized`, `den
155
156
156
157
Checks the authorization status for microphone access. If the status check returns:
157
158
158
-
-`not determined`, the microphone access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
159
-
-`denied`, the`Security & Privacy` System Preferences window is opened with the Microphone privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
160
-
-`restricted`, the Promise is resolved as `restricted`.
159
+
*`not determined` - The microphone access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
160
+
*`denied` -T he`Security & Privacy` System Preferences window is opened with the Microphone privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
161
+
*`restricted` - The Promise is resolved as `restricted`.
161
162
162
163
Your app must provide an explanation for its use of capture devices using the `NSMicrophoneUsageDescription``Info.plist` key; Calling this method or attempting to start a capture session without a usage description raises an exception.
163
164
@@ -183,6 +184,7 @@ const status = await askForMicrophoneAccess();
183
184
There is no API for programmatically requesting Screen Capture on macOS at this time, and so calling this method will trigger opening of System Preferences at the Screen Capture pane of Security and Privacy.
There is no API for programmatically requesting Accessibility access on macOS at this time, and so calling this method will trigger opening of System Preferences at the Accessibility pane of Security and Privacy.
A. This error means that webpack packed this module, which it should not. To fix this, you should configure webpack to use this module externally, e.g explicitly not pack it.
217
+
218
+
----------------------
219
+
220
+
Q. I've authorized access to a particular system component and want to reset it. How do I do that?
221
+
222
+
A. You can use `tccutil` to do this!
223
+
224
+
The `tccutil` command manages the privacy database, which stores decisions the user has made about whether apps may access personal data.
0 commit comments