Skip to content

Commit b128264

Browse files
committed
Document com.apple.security.network entitlements
1 parent 01fa982 commit b128264

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/tutorial/mac-app-store-submission-guide.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,26 @@ Depending on which Electron APIs your app uses, you may need to add additional
172172
entitlements to your `parent.plist` file to be able to use these APIs from your
173173
app's Mac App Store build.
174174

175+
#### Network Access
176+
177+
Enable outgoing network connections to allow your app to connect to a server:
178+
179+
```xml
180+
<key>com.apple.security.network.client</key>
181+
<true/>
182+
```
183+
184+
Enable incoming network connections to allow your app to open a network
185+
listening socket:
186+
187+
```xml
188+
<key>com.apple.security.network.server</key>
189+
<true/>
190+
```
191+
192+
See the [Enabling Network Access documentation][network-access] for more
193+
details.
194+
175195
#### dialog.showOpenDialog
176196

177197
```xml
@@ -240,3 +260,4 @@ ERN)][ern-tutorial].
240260
[ern-tutorial]: https://carouselapps.com/2015/12/15/legally-submit-app-apples-app-store-uses-encryption-obtain-ern/
241261
[temporary-exception]: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AppSandboxTemporaryExceptionEntitlements.html
242262
[user-selected]: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW6
263+
[network-access]: https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW9

0 commit comments

Comments
 (0)