From 3ddd2db037a9f375b98eb9403be1b24eb538d826 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 13 Jun 2016 12:13:59 +0100 Subject: [PATCH] Allow access to all URLs in the JUCE Demo --- examples/Demo/Builds/MacOSX/Info-App.plist | 5 +++++ examples/Demo/Builds/iOS/Info-App.plist | 5 +++++ examples/Demo/JuceDemo.jucer | 6 ++++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/examples/Demo/Builds/MacOSX/Info-App.plist b/examples/Demo/Builds/MacOSX/Info-App.plist index 71c5339c56..bb0fc6d292 100644 --- a/examples/Demo/Builds/MacOSX/Info-App.plist +++ b/examples/Demo/Builds/MacOSX/Info-App.plist @@ -3,6 +3,11 @@ + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIconFile diff --git a/examples/Demo/Builds/iOS/Info-App.plist b/examples/Demo/Builds/iOS/Info-App.plist index 756003b2e9..6aa71d6b65 100644 --- a/examples/Demo/Builds/iOS/Info-App.plist +++ b/examples/Demo/Builds/iOS/Info-App.plist @@ -3,6 +3,11 @@ + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + LSRequiresIPhoneOS UIViewControllerBasedStatusBarAppearance diff --git a/examples/Demo/JuceDemo.jucer b/examples/Demo/JuceDemo.jucer index 1357c41899..aa810a7ca5 100644 --- a/examples/Demo/JuceDemo.jucer +++ b/examples/Demo/JuceDemo.jucer @@ -5,7 +5,8 @@ defines="JUCE_UNIT_TESTS=1" includeBinaryInAppConfig="1"> + objCExtraSuffix="hZh0GG" bigIcon="BvyE0d" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter" + customPList="<plist> <dict> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> </dict> </plist>"> + objCExtraSuffix="Lpywnl" bigIcon="BvyE0d" iosScreenOrientation="portraitlandscape" + customPList="<plist> <dict> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> </dict> </plist>">