Closed doomsdayer closed 5 years ago
@doomsdayer Thank you for comments. As you probably know, in the case of HTTP you need to set the policy of ATS(App Transport Security). This is irrelevant for image_downloder. It is the specification of ios.
However, flutter users may not be familiar with ios, so I thought that it was necessary to write in README as well.
the ios still have this problem,i set info.plist already
`
Ios emulater, when starting download, get these error:
Unsupported value: 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=0x600001028780 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "(null)"}, NSErrorFailingURLStringKey=http://pic.cdn.5nuthost.com/imgflip/289098e09642b1b463c3acee77a503db.jpg, NSErrorFailingURLKey=http://pic.cdn.5nuthost.com/imgflip/289098e09642b1b463c3acee77a503db.jpg, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.} of type NSURLError
solution: edit the Info.plist, add these: