pokedex icon indicating copy to clipboard operation
pokedex copied to clipboard

Pokemon images are not loading on ios simulator

Open raj-engineer opened this issue 2 years ago • 2 comments

Pokemon images are not loading on ios simulator . ATS failed system trust 2023-02-10 22:09:17.933907+0530 Demoapp[23461:447507] Connection 1: system TLS Trust evaluation failed(-9802) 2023-02-10 22:09:17.934160+0530 Demoapp[23461:447507] Connection 1: TLS Trust encountered error 3:-9802 2023-02-10 22:09:17.934331+0530 Demoapp[23461:447507] Connection 1: encountered error(3:-9802) 2023-02-10 22:09:17.939616+0530 Demoapp[23461:447507] Task <E59AC2EF-AA15-41D6-BB23-3F63EC19342F>.<0> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9802]) 2023-02-10 22:09:17.940031+0530 Demoapp[23461:447504] NSURLConnection finished with error - code -1200 Can you please provide a way . any Other server images loading properly.

raj-engineer avatar Feb 11 '23 07:02 raj-engineer

Hi, it's not a problem of our API. It seems it's a problem within your application, specifically about TLS connections.

If you want you can also download all the sprites and host them by yourself. We have a repo for that, pokeapi/sprites

Naramsim avatar Feb 11 '23 12:02 Naramsim

This causes by iOS security restruction(ATS)

Review your app settings https://developer.apple.com/documentation/security/preventing_insecure_network_connections

giginet avatar Feb 11 '23 19:02 giginet