Attempting to use the Ripple Emulator to test a PhoneGap application. We're making requests to the server and receiving:
ERROR:
cordova :: XMLHttpRequest :: setRequestHeader does not work with JSONP.
--disable-web-security --allow-file-access-from-files
Does Ripple Emulator support CORS httprequest or only jsonp?
If it supports a call from more than just JSONP then I could use some assistance on implementation.
Thank you!
Ripple Emulator does support CORS httprequest but you need to host your html page as a website on your machine and access it using http://localhost/yourvirtualdir/yourfile.html
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With