Downloading a text file is not working on iPhoneX?

I have another problem with downloading and showing a text file from an external server.

On a new iPad it is working fine. A text is downloaded and then shown on screen.

On the iPhone when the download should start I get the message:“Download failed! …ause the App Transport Security policy re…” (The text is cut at the edges)

How can I make sure iPhoneX users also can download the text file? What is causing the download to fail?

Is it a http and https issue?

Thanks for your help!

Daniela

Have you already applied this?

https://docs.coronalabs.com/guide/hardware/appleATS/index.html

Thanks for this information!

This seems like it is impossible then to allow users to create their own game content then upload it to their own webspace for letting others download it to their game later.

How can this be done then? Is there a way to allow players to download external content to their game from an online place they can choose?

Why download a text file and not just the contents? You need to 1) download file, 2) read contents, 3) magic, 4) delete file, or your app bloats. So why not just 1) receive string, 2) magic?

Thanks for the info. Can you explain this in more detail please pixec? Why is this different to downloading the file?

If you download a file then you must handle file management as well. If all you send is a text file then you can probably ignore that and just send the contents

Do you have an example on how to achieve this? Thanks for your help!
 

Google LAMP. Really any basic database setup.