Tuesday, 1 November 2011

ERROR whitelist rejection in phonegap compilation | Custom URL Scheme


Change in Phonegap.plist

Go to External Host and add row (i.e left click on row)
In Value column : Put your domain name.

Example :
Whenever you fetch any URL in iPhone  through phonegap.We do like this.

1) ERROR whitelist rejection: url('http://localhost:8888/myproject/index.html')
    Type: localhost in value column
2) ERROR whitelist rejection: url('http://google.com/dashboard/mobilews.php?')
    Type: google in value column

It works for me.

Cheers :)

No comments:

Post a Comment