Phonegap / Cordova 2.3.0 Ignored iOS whitelist
I recently updated my iOS mobile app to version 2.3.0. This release converted the Cordova.plist file to a config.xml file as expected, but since the update, my application can no longer load resources from external urls (images, etc.). I have the following delcaration in my config.xml file:
<access origin="*"/>
Has anyone faced this issue since the update?
source to share
The whitelist is now listed like this:
<access origin="*" />
It is important to note that if you are using storyboards, you must override the initWithCoder
call [super init]
to customize loading Cordova from config.xml
.
Loading is done in [CDVViewController loadSettings]
. Try to intercept the point there, and if it is not called, then something is wrong.
source to share