I am using objective c framework which uses AFNetworking lib and when I try to call from swiftUI project it shows the error which is the same as yours have you get any fix please?
Post
Replies
Boosts
Views
Activity
inline-code Cannot start load of Task <41A49110-5099-4AB2-B5F0-309674C4A08A>.<1> since it does not conform to ATS policy
2021-11-05 14:41:14.951839+0300 Ridep[317:5627] Task <41A49110-5099-4AB2-B5F0-309674C4A08A>.<1> finished with error [-1022] 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={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=http://someurl NSErrorFailingURLKey=http://someurl, _NSURLErrorRelatedURLSessionTaskErrorKey=(
Thanks, This is the correct answer
flutter team also have this hotfix upgrade, I don't know why it is not working for me.
https://groups.google.com/g/flutter-announce/c/9qZL8GOVNb4?pli=1