Cordova/Ionic is stacking up AJAX data in Android's Data space -
Edit: After trying things I found a solution See my answer here :
There are several templates in my app, which are populated with the received data using AJAX requests, and I am using the Ionic framework with fingerprints. And I saw that every time the data is getting, it adds to the app's data .
I have predicted that this could be something about DOM, but even after commenting that part (or modified) connects to the DOM, the data was still added to my app's data So I'm 99% sure that Cordova is saving not the requested data in the cache, but what's the solution in the data? I tried: data = empty on success, but I think it would be in the form of a var rather than an object?
PS: A simple Cordova + jQuery mobile app without Ionic framework was the only issue.
Cordoba version: Android 3.6.4
How do I retrieve a sample 'data:
fileURL = "https: // s3 -xxxxx "+ parameter +" .html "; Var fileRequest = $ .ajax ({url: fileURL, type: "GET", cache: incorrect, async: true});
Comments
Post a Comment