Reputation: 67872
Is there any product or tool I can use to test a phonegap application's ajax in chrome? I'd like to keep developing in Chrome, but cross-domain requests are going to kill me here.
Ideally, I could still use chrome, and somehow the ajax would get intercepted and run by a proxy of some sort.
Upvotes: 2
Views: 432
Reputation: 67872
Start chrome using --disable-web-security
and you can make cross-site ajax requests. This was broken for a while, but it's fixed again.
Upvotes: 4
Reputation: 4972
use the simulator. If that doesn't suit your needs your best bet is to dev that portion elsewhere on the server, or create the proxy.
Upvotes: 1