I´m newbie in ionic and I get an error when I deploy the app to a device with android gingerbread. The problem doesn’t occur in the development environment (I mean using “ionic serve”).
After to add several log traces, I have seen that
$http.get(url,config).success... is correctly invoked each time. However the request only is sent to the server the first time (I have debugged the server and it has confirmed my suspects). In this way the data is well refreshed only the first time.
I have tried to:
I guess the device navigator is doing something really bad but I´m not sure. The “dirty” workaround is to add a dummy parameter in the url:
var tempUrl = url + '?hash_id=' + Math.random();
The requests are not being cached because are different. Although it works fine, it is not too elegant
I don’t want to use Crosswalk in order to force the navigator. I don’t know what’s the next step. Any suggestion?