My ATS settings to add excemption work on iOS 10 but I lose the ability to connect to a streaming audio source in iOS 9.
Is this an iOS 9 vs iOS 10 thing? In XCode 8.1 if I remove the NSAllowsArbitraryLoads the audio will play on iOS 10 simulators but not a iOS 9.x real device.
If I add the NSAllowsArbitraryLoads back in the audio will play on the iOS 9.x device. How does this work? Could it be, to be backwards compatable I have to include the NSAllowsArbitraryLoads to the plist? Would the NSAllowsArbitraryLoads overrule the NSExceptionDomains entry?
The below worked till 8.1 and iOS 9 devices
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>live.mystream.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
To make it work in 8.1 and iOS 9 devices
<dict>
<key>NSAllowsArbitraryLoads</key> ******** Had to add this back in to get it to work in iOS 9
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>live.mystream.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
Can anyone clarify this?
Thanks in advance