Answer the question
In order to leave comments, you need to log in
How to test ajax requests to external sites in sencha touch without building the application?
I am making a sencha touch + phonegap app.
The app requests data from multiple sites. There are no JSONP options on the sites.
When testing with a local web server (sencha web start), there are problems with cross origin and an exception on the request.
From the assembled android application I successfully receive a response.
How can I test the application (so that ajax requests work) so as not to rebuild the android version after each change?
So far, the only option that comes to mind is to use another web server and proxy requests through it in order to avoid cross-domain requests in the dev environment.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question