From b128264ae4c04c7796f4eab2bb8feeb948c8d1e0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 9 Sep 2016 13:55:32 -0700 Subject: [PATCH] Document com.apple.security.network entitlements --- .../mac-app-store-submission-guide.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/tutorial/mac-app-store-submission-guide.md b/docs/tutorial/mac-app-store-submission-guide.md index c7ed9162fd..c018e6f9a7 100644 --- a/docs/tutorial/mac-app-store-submission-guide.md +++ b/docs/tutorial/mac-app-store-submission-guide.md @@ -172,6 +172,26 @@ Depending on which Electron APIs your app uses, you may need to add additional entitlements to your `parent.plist` file to be able to use these APIs from your app's Mac App Store build. +#### Network Access + +Enable outgoing network connections to allow your app to connect to a server: + +```xml +com.apple.security.network.client + +``` + +Enable incoming network connections to allow your app to open a network +listening socket: + +```xml +com.apple.security.network.server + +``` + +See the [Enabling Network Access documentation][network-access] for more +details. + #### dialog.showOpenDialog ```xml @@ -240,3 +260,4 @@ ERN)][ern-tutorial]. [ern-tutorial]: https://carouselapps.com/2015/12/15/legally-submit-app-apples-app-store-uses-encryption-obtain-ern/ [temporary-exception]: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AppSandboxTemporaryExceptionEntitlements.html [user-selected]: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW6 +[network-access]: https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW9