Skip to content

Commit 2bdd486

Browse files
committed
fix: update plist on tsos
1 parent 2c18d98 commit 2bdd486

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

ios/example-tvOS/Info.plist

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
@@ -22,6 +22,19 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25+
<key>NSAppTransportSecurity</key>
26+
<dict>
27+
<key>NSExceptionDomains</key>
28+
<dict>
29+
<key>localhost</key>
30+
<dict>
31+
<key>NSExceptionAllowsInsecureHTTPLoads</key>
32+
<true/>
33+
</dict>
34+
</dict>
35+
</dict>
36+
<key>NSLocationWhenInUseUsageDescription</key>
37+
<string></string>
2538
<key>UILaunchStoryboardName</key>
2639
<string>LaunchScreen</string>
2740
<key>UIRequiredDeviceCapabilities</key>
@@ -36,19 +49,5 @@
3649
</array>
3750
<key>UIViewControllerBasedStatusBarAppearance</key>
3851
<false/>
39-
<key>NSLocationWhenInUseUsageDescription</key>
40-
<string></string>
41-
<key>NSAppTransportSecurity</key>
42-
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
43-
<dict>
44-
<key>NSExceptionDomains</key>
45-
<dict>
46-
<key>localhost</key>
47-
<dict>
48-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
49-
<true/>
50-
</dict>
51-
</dict>
52-
</dict>
5352
</dict>
5453
</plist>

0 commit comments

Comments
 (0)