nitc: add permission for HTTP requests to iOS apps
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 10 Feb 2016 23:27:53 +0000 (18:27 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 11 Feb 2016 18:08:30 +0000 (13:08 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/platform/xcode_templates.nit

index aa6cc5b..d1d8532 100644 (file)
@@ -550,6 +550,11 @@ class PlistTemplate
                <string>UIInterfaceOrientationLandscapeLeft</string>
                <string>UIInterfaceOrientationLandscapeRight</string>
        </array>
+
+       <key>NSAppTransportSecurity</key>
+       <dict>
+               <key>NSAllowsArbitraryLoads</key><true/>
+       </dict>
 </dict>
 </plist>
 """