iOS 9 App Transport Security policy issue
Closed this issue · 2 comments
stefanalund commented
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
Addressed in #55.
mohanadhilles commented
use it
info.plist
NSAppTransportSecurity
NSExceptionDomains
domain.com
NSExceptionAllowsInsecureHTTPLoads
NSIncludesSubdomains