Explorar el Código

Add localhost to the Info.plist exception list

Tom Underhill hace 4 años
padre
commit
dab9126c3b
Se han modificado 1 ficheros con 39 adiciones y 31 borrados
  1. 39
    31
      example/macos/example-macOS/Info.plist

+ 39
- 31
example/macos/example-macOS/Info.plist Ver fichero

@@ -2,36 +2,44 @@
2 2
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3
 <plist version="1.0">
4 4
 <dict>
5
-  <key>CFBundleDevelopmentRegion</key>
6
-  <string>$(DEVELOPMENT_LANGUAGE)</string>
7
-  <key>CFBundleExecutable</key>
8
-  <string>$(EXECUTABLE_NAME)</string>
9
-  <key>CFBundleIconFile</key>
10
-  <string></string>
11
-  <key>CFBundleIdentifier</key>
12
-  <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
-  <key>CFBundleInfoDictionaryVersion</key>
14
-  <string>6.0</string>
15
-  <key>CFBundleName</key>
16
-  <string>$(PRODUCT_NAME)</string>
17
-  <key>CFBundlePackageType</key>
18
-  <string>APPL</string>
19
-  <key>CFBundleShortVersionString</key>
20
-  <string>1.0</string>
21
-  <key>CFBundleVersion</key>
22
-  <string>1</string>
23
-  <key>LSMinimumSystemVersion</key>
24
-  <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
25
-  <key>NSHumanReadableCopyright</key>
26
-  <string>Copyright © 2017 Facebook. All rights reserved.</string>
27
-  <key>NSMainStoryboardFile</key>
28
-  <string>Main</string>
29
-  <key>NSPrincipalClass</key>
30
-  <string>NSApplication</string>
31
-  <key>NSAppTransportSecurity</key>
32
-  <dict>
33
-    <key>NSAllowsArbitraryLoads</key>
34
-    <true/>
35
-  </dict>
5
+	<key>CFBundleDevelopmentRegion</key>
6
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
7
+	<key>CFBundleExecutable</key>
8
+	<string>$(EXECUTABLE_NAME)</string>
9
+	<key>CFBundleIconFile</key>
10
+	<string></string>
11
+	<key>CFBundleIdentifier</key>
12
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
+	<key>CFBundleInfoDictionaryVersion</key>
14
+	<string>6.0</string>
15
+	<key>CFBundleName</key>
16
+	<string>$(PRODUCT_NAME)</string>
17
+	<key>CFBundlePackageType</key>
18
+	<string>APPL</string>
19
+	<key>CFBundleShortVersionString</key>
20
+	<string>1.0</string>
21
+	<key>CFBundleVersion</key>
22
+	<string>1</string>
23
+	<key>LSMinimumSystemVersion</key>
24
+	<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
25
+	<key>NSAppTransportSecurity</key>
26
+	<dict>
27
+		<key>NSAllowsArbitraryLoads</key>
28
+		<true/>
29
+		<key>NSExceptionDomains</key>
30
+		<dict>
31
+			<key>localhost</key>
32
+			<dict>
33
+				<key>NSExceptionAllowsInsecureHTTPLoads</key>
34
+				<true/>
35
+			</dict>
36
+		</dict>
37
+	</dict>
38
+	<key>NSHumanReadableCopyright</key>
39
+	<string>Copyright © 2017 Facebook. All rights reserved.</string>
40
+	<key>NSMainStoryboardFile</key>
41
+	<string>Main</string>
42
+	<key>NSPrincipalClass</key>
43
+	<string>NSApplication</string>
36 44
 </dict>
37 45
 </plist>