Created
December 5, 2011 15:00
-
-
Save kagemusha/1433863 to your computer and use it in GitHub Desktop.
iOS Phonegap APP: Whitelist URL Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tested: PhoneGap 1.2, XCode 4.2 | |
If you are trying to connect to an external server from your | |
appYou must add the host (e.g. github.com) to your | |
PhoneGap.plist file. | |
In XCode: | |
1) Find PhoneGap.plist: should be in dir <your_app>/Supporting Files | |
2) Find or create the ExternalHosts prop | |
3) The ExternalHosts prop should be an array. Add an item an input your | |
host name e.g. github.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment