Skip to content

Commit 6225fdd

Browse files
committed
docs: version information cleanup
1 parent 5d85a0a commit 6225fdd

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Return Value Descriptions:
3838
* `authorized` - The application is authorized to access `type` data.
3939

4040
**Notes:**
41-
* Access to `contacts` will always return a status of `authorized` prior to macOS 10.11, as access to contacts was unilaterally allowed until that version.
42-
* Access to `camera` and `microphone` will always return a status of `authorized` prior to macOS 10.14, as access to contacts was unilaterally allowed until that version.
43-
* Access to `screen` will always return a status of `authorized` prior to macOS 10.15, as access to screen capture was unilaterally allowed until that version.
44-
* Access to `photos` will always return a status of `authorized` prior to macOS 10.13, as access to screen capture was unilaterally allowed until that version.
45-
* Access to `speech-recognition` will always return a status of `authorized` prior to macOS 10.15, as access to screen capture was unilaterally allowed until that version.
41+
* Access to `contacts` will always return a status of `authorized` prior to macOS 10.11, as the underlying API was not introduced until that version.
42+
* Access to `camera` and `microphone` will always return a status of `authorized` prior to macOS 10.14, as the underlying API was not introduced until that version.
43+
* Access to `screen` will always return a status of `authorized` prior to macOS 10.15, as the underlying API was not introduced until that version.
44+
* Access to `photos` will always return a status of `authorized` prior to macOS 10.13, as the underlying API was not introduced until that version.
45+
* Access to `speech-recognition` will always return a status of `authorized` prior to macOS 10.15, as the underlying API was not introduced until that version.
4646

4747
Example:
4848
```js
@@ -76,7 +76,7 @@ Your app’s `Info.plist` file must provide a value for the `NSContactsUsageDesc
7676
<string>Your reason for wanting to access the Contact store</string>
7777
```
7878

79-
**Note:** `status` will be resolved back as `authorized` prior to macOS 10.11, as access to contacts was unilaterally allowed until that version.
79+
**Note:** `status` will be resolved back as `authorized` prior to macOS 10.11, as the underlying API was not introduced until that version.
8080

8181
Example:
8282
```js
@@ -125,7 +125,7 @@ askForSpeechRecognitionAccess().then(status => {
125125
})
126126
```
127127

128-
**Note:** `status` will be resolved back as `authorized` prior to macOS 10.15, where the underlying API was introduced.
128+
**Note:** `status` will be resolved back as `authorized` prior to macOS 10.15, as the underlying API was not introduced until that version.
129129

130130
## `permissions.askForRemindersAccess()`
131131

@@ -171,7 +171,7 @@ Your app must provide an explanation for its use of capture devices using the `N
171171

172172
**Note:**
173173

174-
- `status` will be resolved back as `authorized` prior to macOS 10.14, as access to the camera and microphone was unilaterally allowed until that version.
174+
- `status` will be resolved back as `authorized` prior to macOS 10.14, as the underlying API was not introduced until that version.
175175

176176
Example:
177177

@@ -202,7 +202,7 @@ Your app must provide an explanation for its use of capture devices using the `N
202202

203203
**Note:**
204204

205-
- `status` will be resolved back as `authorized` prior to macOS 10.14, as access to the camera and microphone was unilaterally allowed until that version.
205+
- `status` will be resolved back as `authorized` prior to macOS 10.14, as the underlying API was not introduced until that version.
206206

207207
Example:
208208

@@ -233,7 +233,7 @@ Your app must provide an explanation for its use of the photo library using the
233233

234234
**Note:**
235235

236-
- `status` will be resolved back as `authorized` prior to macOS 10.13, as access to Photos was unilaterally allowed until that version.
236+
- `status` will be resolved back as `authorized` prior to macOS 10.13, as the underlying API was not introduced until that version.
237237

238238
Example:
239239

@@ -312,4 +312,13 @@ $ tccutil reset Microphone
312312

313313
# Reset Photos access permissions
314314
$ tccutil reset Photos
315+
316+
# Reset Screen Capture access permissions
317+
$ tccutil reset ScreenCapture
318+
319+
# Reset Full Disk Access permissions
320+
$ tccutil reset SystemPolicyAllFiles
321+
322+
# Reset Contacts permissions
323+
$ tccutil reset AddressBook
315324
```

0 commit comments

Comments
 (0)