jquery - Cordova 2.9.0 Android, cross domain Ajax request always fail -


i have set <access origin="*"/> in config.xml, use jquery , jquery mobile, set $.support.cors = true; $.mobile.allowcrossdomainpages = true, $.get(...) , $.ajax(...) fail in desktop browser. after use jsonp, can cross site request in brwoser , cordova simulator, still fail in real device. tried promisejs, still without luck. seems in real device request fail(not sent), server side there no request @ all.

any appreciated.

this work if build application apk (android app) , install on android device, fastest way upload zipped project phonegap build , download apk , run on phone.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -