浏览代码

fix ERROR: An SSL error has occurred and a secure connection to the server cannot be made.

Marino Faggiana 7 年之前
父节点
当前提交
3890e9941e
共有 3 个文件被更改,包括 5 次插入4 次删除
  1. 5 0
      iOSClient/Brand/Picker.plist
  2. 0 2
      iOSClient/Brand/Share.plist
  3. 0 2
      iOSClient/Brand/iOSClient.plist

+ 5 - 0
iOSClient/Brand/Picker.plist

@@ -20,6 +20,11 @@
 	<string>2.17.4</string>
 	<key>CFBundleVersion</key>
 	<string>00021</string>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
 	<key>NSExtension</key>
 	<dict>
 		<key>NSExtensionAttributes</key>

+ 0 - 2
iOSClient/Brand/Share.plist

@@ -24,8 +24,6 @@
 	<dict>
 		<key>NSAllowsArbitraryLoads</key>
 		<true/>
-		<key>NSExceptionDomains</key>
-		<dict/>
 	</dict>
 	<key>NSExtension</key>
 	<dict>

+ 0 - 2
iOSClient/Brand/iOSClient.plist

@@ -100,8 +100,6 @@
 	<dict>
 		<key>NSAllowsArbitraryLoads</key>
 		<true/>
-		<key>NSExceptionDomains</key>
-		<dict/>
 	</dict>
 	<key>NSLocationAlwaysUsageDescription</key>
 	<string>The use of GPS is used to detect new photos from camera roll, continued use of GPS running in the background can dramatically decrease battery life.</string>