How to set up Domain Whitelist in PhoneGap Build?

Akio Yanagawa picture Akio Yanagawa · Nov 2, 2012 · Viewed 9k times · Source

According to Apache Cordova Documentation, http://docs.phonegap.com/en/1.9.0/guide_whitelist_index.md.html

we need to delcare access to specific network domains and subdomains in domain whitelist if we want a native application to access to outside domains.

If I use PhoneGap Build, how to set up the domain whitelist? Or we don't need to set it up at all when we use PhoneGap Build?

Please help me if anyone knows about it. Thank you very much.

Answer

Sahil Bhardwaj picture Sahil Bhardwaj · Nov 15, 2012

By using config.xml, Look at this guide to know how to make config.xml https://build.phonegap.com/docs/config-xml