Using Phonegap, I can't get ajax (or workaround) to work in a release build.
Device being used: Galaxy S4
Situation: with Phonegap App and 'phonegap serve':
- working: I can POST data to my server using the following method: form with a target of a hidden iframe and an action pointing to my server.
- not working: traditional ajax calls do not work, either with jquery or straight javascript
With a signed build:
- neither (form + iframe) or ajax work
===
Things I've already tried:
Set whitelisting via access origin
AndroidManifest.xml has internet permission turned on
Remote server is HTTP, not HTTPS
$.support.cors = true
Downgraded from Cordova 5.0 and Phonegap 5.0 to lower versions
===
Anyone have any suggestions?