0

I have received error whitelist rejection on my Xcode log. I try to search on the Internet, I found the solution add ExternalHosts key string still dont work for me i dont know why still got wrong or my value string not correct.i have try these way:

1) * - access all the domain

2) *.abc.com - access all the sub domain

3) abc.com - access only this domain

my ajax request url is like "http://mobile.abc.com". Hope someone could help me thank you

Raptor
  • 53,206
  • 45
  • 230
  • 366
user1511029
  • 125
  • 2
  • 4
  • 13

1 Answers1

0

This had me beat too. For phonegap 2+ upwards the external hosts are added in the config.xml file: <access origin="*" /> or replace * with the url like google.com see the second solution here: Error: Whitelist rejection in Phonegap

Community
  • 1
  • 1
sdjuan
  • 709
  • 6
  • 15