I’m using phonegap to create an app. I’m having a problem when I’m trying to ‘include’ a remote url as webpage. I have this working on Android, this was faily easy by changing the super.loadUrl();. After a while I found out that I could change the startPage (for iOS). Now I can include the remote webpage in an iOS app but phonegap doesn’t seem to be loading.
No events (like the deviceready) will be called and I can’t use the phonegap api.
Any help on this please?
In order for you to be able to run PhoneGap code on an external website you will need to whitelist the website. Each platform has a different way of whitelisting. For iOS you will need to add the host in PhoneGap.plist under the “ExternalHosts” key.