ERROR whitelist rejection in PhoneGap Apps

ERROR whitelist rejection in PhoneGap Apps

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!

Lakshay Katney Avatar

Lakshay Katney

Saleforce developer by profession but I like to work with various technologies.I blog about, Hybrid Apps, PhoneGap, AngularJS, BackboneJS, JavaScript in general. I am Angular & NodeJS fan.

Read More
Share this page
Top 15 Posts