Cordova 5.3.1 and iOS9 platform – I can’t load images and scripts from external source

Mainly I tried to get a connection through Socket.io but soon found out that there is no “external” that can be loaded into my Cordova/iOS app.
I checked the config The whitelist settings in .xml. They seem to be good, but in case I join

Unfortunately, this did not help.
I tried to remove the whitelist plugin

< p>

cordova plugin add org.apache.cordova.whitelist

Plugin “cordova-plugin-whitelis” is not present in the project. See
cordova plugin list.

So I checked the cordova plugin list and returned

cordova-plugin-console 1.0 .1 "Console"
cordova-plugin-dialogs 1.1.1 "Notification"
cordova-plugin-vibration 1.2.0 "Vibration"
cordova-plugin-whitelist 1.1.0 "Whitelist"

I guess the one above might be some kind of default?

My next attempt is to remove the following meta tags from index.html

But that also It didn’t help…

After several hours of setting up Cordova, I’m still not sure about my installation What is the Whitelist and what is the best way to set it up
But one thing will definitely help me insert Info.plist (maybe like HelloWorld-Info.plist)

The following tags< /p>

NSAppTransportSecurity

NSAllowsArbitraryLoads

After that, I can connect via a network socket or load external images!

I hope this will help others sometimes.

Mainly I tried to get a connection through Socket.io but soon discovered that there was no “external “Can be loaded into my Cordova/iOS app.
I checked the whitelist settings in config.xml. They seem to be good, but in case I join

Unfortunately Yes, this did not help.
I tried to delete the whitelist plugin

cordova plugin add org.apache.cordova.whitelist

Plugin “Cordova-plugin-whitelis” is not present in the project. See
cordova plugin list.

So I checked the cordova plugin list and returned

cordova-plugin-console 1.0.1 "Console"
cordova-plugin-dialogs 1.1.1 "Notification"
cordova-plugin-vibration 1.2 .0 "Vibration"
cordova-plugin-whitelist 1.1.0 "Whitelist"

I guess the one above may be some kind of default?

My next attempt is to remove the following meta tags from index.html

But that also It didn’t help…

After several hours of setting up Cordova, I am still not sure what the Whitelist I installed and the best way to set it up is What
But one thing definitely helped me insert Info.plist (maybe like HelloWorld-Info.plist)

The following tags

NSAppTransportSecurity

NSAllowsArbitraryLoads

After that, I can connect via a web socket or load external images!

I hope this will help others sometimes.

Leave a Comment

Your email address will not be published.