Here how I used URLSession
` let session = URLSession(configuration: .default)
let task = session.dataTask(with: url) {(data, response, error) in
Post
Replies
Boosts
Views
Activity
I got some relevant answer from stack overflow and it helped me something.
Let me share here, If we run the app on physical device with Xcode simulator we don't get any issue and boringssl log warning also on Xcode simulator. This issue might be because of Xcode couldn't able to connect to internet when running the app or call API.
Hope this answer help someone!
it was accidentally marked as right answer.
@ AnnArborMark This is not the soultion and I have mentioned in my question itself that I tried it before which was not working to resolve the issue.