Search code examples
javascriptcordovaconnectionwildcardwhitelist

PhoneGap external hosts wildcard


I'm using a js library inside a PhoneGap application for iPhone. I don't know what other external sites my js library contacts, so I need a way of whitelisting all connections, just for testing. How do I do that?

My app just silently fails, it doesn't continue from where the library is initiated. (when I run the app in a browser it works perfectly)


Solution

  • Try setting the value of the ExternalHosts property in Phonegap.plist to *