I’m using Cordova(Phonegap) to create a cross-platform salesforce app. When I run the application, after logging into the salesforce it will throw the below error when I query salesforce objects:
[143:2013] ERROR whitelist rejection: url=”cloudforce.com”
After googling around, i found that this issue is due to permissions. Cordova expects all domain/subdomain that your app wants to access is listed in the config.xml
I added the below additional line to the config file and zoooom…it all works as expected