summaryrefslogtreecommitdiffstats
path: root/examples/webview/minibrowser/ios
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2016-02-24 18:56:14 +0100
committerChristian Stromme <christian.stromme@theqtcompany.com>2016-03-04 10:35:30 +0000
commit1f91d5c472dee19ec8c8eb2cf9f8a1375ab45a48 (patch)
tree6c1263af3fee91cde530c94da19f14e3ff8f7533 /examples/webview/minibrowser/ios
parentf014893e2d19ae51c2f9138ab66eccf7684000ee (diff)
iOS: Add custom plist which disables ATS for the minibrowser.
Disabling App Transport Security is necessary if we want to load non-https urls, e.g., qt.io. Change-Id: Ib4ed55c2787968946f35700f521f8a81e96d1443 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'examples/webview/minibrowser/ios')
-rw-r--r--examples/webview/minibrowser/ios/Info.plist41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/webview/minibrowser/ios/Info.plist b/examples/webview/minibrowser/ios/Info.plist
new file mode 100644
index 0000000..9b06537
--- /dev/null
+++ b/examples/webview/minibrowser/ios/Info.plist
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleExecutable</key>
+ <string>minibrowser</string>
+ <key>CFBundleIdentifier</key>
+ <string>sd.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>NSAppTransportSecurity</key>
+ <!-- NOTE! For more information, see: https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33-->
+ <dict>
+ <key>NSAllowsArbitraryLoads</key>
+ <true/>
+ </dict>
+</dict>
+</plist>