Reputation: 1777
As in the title: Are 'POST' cross domains ajax requests allowed in PhoneGap / jQuery Mobile apps in webview mode? Providing that both $.mobile.allowCrossDomainPages
and $.support.cors
are set to true.
Upvotes: 3
Views: 2209
Reputation: 4972
You don't need either of those.
if you're in iOS just add a new external host and set it's value to *
if you're in Android add this to your manifest
<access origin="https://example.com" subdomains="true" />
here's another post about the same topic - What is the state of whitelisting in phonegap 1.3.0?
Upvotes: 2