Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Pokemon images are not loading on ios simulator #145

Open
raj-engineer opened this issue Feb 11, 2023 · 2 comments
Open

Pokemon images are not loading on ios simulator #145

raj-engineer opened this issue Feb 11, 2023 · 2 comments

Comments

@raj-engineer
Copy link

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 .<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.

@Naramsim
Copy link
Member

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

@giginet
Copy link

giginet commented Feb 11, 2023

This causes by iOS security restruction(ATS)

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants