Trying to use Ripple emulator to test PhoneGap application. We make requests to the server and get:
ERROR:
cordova :: XMLHttpRequest :: setRequestHeader does not work with JSONP.
- a) CORS is enabled on the server and client
- b) Queries work in the browser
- c) Requests work on a mobile device
- d) I have enabled "Allow access to file URLs" in the settings of the Ripple Chrome extension.
- e) I ran chrome with flags:
- disable-web-security --allow-file-access-from-files
Does Ripple Emulator CORS support httprequest or just jsonp?
If it supports calling from more than JSONP, I could use some help with implementation.
Thanks!
source share