Skip to content Skip to sidebar Skip to footer

Ajax Calls Don't Work On Phonegap Apk Build

When using build.phonegap all of my ajax calls dont work, it works in website form and when using the app to connect to the server, but once i build the AJAX calls go through, but

Solution 1:

Add Below permission in AndroidManifest.xml file.

<uses-permissionandroid:name="android.permission.INTERNET" />

Solution 2:

Try to add this to you'r config.xml :

<allow-intenthref="*" /><allow-navigationhref="*" />

Be carefull, it's only for debug, when you'r application was ready for production, you have to restrict this with replace * by you'r domain.

Post a Comment for "Ajax Calls Don't Work On Phonegap Apk Build"