EricssonResearch / bowser

A WebRTC browser for iOS developed in the open
BSD 2-Clause "Simplified" License
208 stars 65 forks source link

iOS 9 App Transport Security policy issue #54

Closed stefanalund closed 8 years ago

stefanalund commented 8 years ago

HTTP only sites can no longer load:

Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSUnderlyingError=0x160c74290 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSErrorFailingURLStringKey=http://demo.openwebrtc.org/, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLKey=http://demo.openwebrtc.org/}}, NSErrorFailingURLStringKey=http://demo.openwebrtc.org/, NSErrorFailingURLKey=http://demo.openwebrtc.org/, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.}
stefanalund commented 8 years ago

Addressed in https://github.com/EricssonResearch/bowser/pull/55.

mohanadhilles commented 6 years ago

use it

info.plist

NSAppTransportSecurity NSExceptionDomains domain.com NSExceptionAllowsInsecureHTTPLoads NSIncludesSubdomains