Greetings,
I have an Ajax request that returns JSON objects. It works like magic on all the platforms apart from the Android. And it also works on the Android Browser.
I’ve set allow navigation and allow intent and origin with * in the config.xml. But still does not work.
This is the sample:
$.getJSON(api_url+“read/allcategories.php”, function( data ) {
console.log(data)
}).fail(function (data, textStatus, xhr) {
alert('ERROR '+ data.status);
alert('STATUS '+ xhr)
}).always(function () {
alert(“ENDED”)
});
It returns an error code 404 and a status of not found!
Any idea what went wrong? Thanks