Origin app://localhost is not allowed by Access-Control-Allow-Origin

What platform are you building for?

iOS

What framework are you building with?

Cordova

What is your build ID?

87d32098-1bc1-4383-89bf-c050860a57d9

What is your error message?

Origin app://localhost is not allowed by Access-Control-Allow-Origin

Please describe the issue:

I’ve recently tried adding a panel of HTML formatted messages to my app. When I run my app in a browser, the messages are downloaded and placed in the divs perfectly, but in iOS, the messages don’t appear and the Safari developer console shows CORS errors. The mystery is that these messages are to replace messages in .png form downloaded from the same source and there is no problem downloading the .png files. Just to be sure that this isn’t a recent iOS upgrade problem, I’ve loaded onto the same phone one of my other apps which still has the .png functionality and this works perfectly

Further info:

Here is the CORS section of my config.xml file:

<access origin="*" />
<access origin="content:///*"/>
<allow-intent href="*" />
<allow-navigation href="*" />
<allow-navigation href="file:*" />

I've tried adding <access origin="app:///localhost" /> to my config.xml file, but this is rejected

Can you share the old URLs that worked, along with the new ones that are not working?