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
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,9 @@ Return Value Descriptions:
28
28
* 'denied' - The user explicitly denied access to `type` data for the application.
29
29
* 'authorized' - The application is authorized to access `type` data.
30
30
31
-
**Note:** Access to 'contacts' will always return a status of 'Authorized' prior to macOS 10.13 High Sierra, as access to contacts was unilaterally allowed until that version.
31
+
**Notes:**
32
+
* 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.
33
+
* 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.
32
34
33
35
## `permissions.askForContactsAccess(callback)`
34
36
@@ -43,6 +45,9 @@ Your app’s `Info.plist` file must provide a value for the `NSContactsUsageDesc
43
45
<string>Your reason for wanting to access the Contact store</string>
44
46
```
45
47
48
+
**Note:**`status` will be called back as 'authorized' prior to macOS 10.11, as access to contacts was unilaterally allowed until that version.
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.
@@ -107,6 +117,9 @@ Your app must provide an explanation for its use of capture devices using the `N
107
117
<string>Your reason for wanting to access the Microphone</string>
108
118
```
109
119
120
+
**Note:**`status` will be called back as 'authorized' prior to macOS 10.14 High Sierra, as access to the camera and microphone was unilaterally allowed until that version.
0 commit comments