Adewale George
Adewale George

Reputation: 279

Whitelist not working on PhoneGap 3.0 ios

I am awar this 1 line of code below is suppose to white domains

<access origin="yahoo.com" subdomains="true" />

but its not working at all.. every domain is being allowed and i do not know why.

Thanks in advance.

Upvotes: 2

Views: 2803

Answers (1)

Liu Xiaolu
Liu Xiaolu

Reputation: 241

There are 2 config.xml

  1. /YourAppName/config.xml <-- check if you add the access here
  2. /YourAppName/ww/config.xml

I had the same problem with you (using phongap 3.0), and it is solved by adding access in the 1st file.

Upvotes: 4

Related Questions