ERROR whitelist rejection in PhoneGap Apps

CSS Apr 03, 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=""/>

Enjoy coding!

Related Tags:

CSS   JavaScript   PhoneGap  

Lakshay Katney

Salesforce Architect by profession but I like to work with various technologies. I blog about, Mobile Apps, Angular(JavaScript in general). I am a Salesforce, JavaScript & NodeJS fan.