Вопрос

I'm rebuilding my phonegap/cordova app around the latest phonegap platform (2.1) and immeditalely ran in to an error.

The somewhat classic "ERROR whitelist rejection" shows up in the output console once the app is launched. I have in fact added the ExternalHosts array into my info plist as shown below and I'm sure it has been done correctly. I've tried about 2323434 different variations of my domain such as *.quickcore.se , quickcore.se/app www.quickcore.se, http://quickcore.se, etc name but with no further success.

info plist settings

So what's going on here? Any idea of how to resolve it? I'm using Xcode 4.5.1

Это было полезно?

Решение

Looks like you have added ExternalHosts key to the wrong file. The entry needs to be in Cordova.plist in the Resources folder.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top