ConnectSDK / Connect-SDK-iOS

iOS source project for Connect SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS 9: SSDP discovery doesn't work

eunikolsky opened this issue · comments

We use HTTP to connect with local SSDP-discovered devices, and that is blocked by default in iOS 9. Here is a warning in logs:

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

Adding this to the app's Info.plist file fixes this for now, although not recommended:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

The other thing is to check whether devices support HTTPS (via DLNA, DIAL, Netcast, etc.).

Closing the issue as there is a work around as mentioned above