Using Adobe PhoneGap Build… ajax calls working fine in PhoneGap dev app, but not working once you build the app? Getting 404 errors when the server is not even being hit?
After much searching, this is what fixed it:
Remove browser plugin (in this case did not need/want it)
phonegap platform remove browser
Add the whitelist plugin:
cordova plugin add cordova-plugin-whitelist
Credit here: