ERROR whitelist rejection in PhoneGap Apps

CSS Apr 3, 2015

This is a very basic error wherein your app not able to hit to any urls or not able to access any JS or CSS libraries online. This happens as phoneGap asks for permitted domains. This needs to be set in config.xml file while making a build.

We can allow specific domain or all domains by adding following:

<access origin="*"/>
<access origin="http://test.server.com"/>

Enjoy coding!

Related Tags:

CSS   JavaScript   PhoneGap