I am building a Cordova app that uses jQuery Ajax to upload images to our server. The uploads were working for a while on both Android and iOS, then after a while they suddenly stopped working on iOS. Now, after a few seconds of trying to access a website, the request fails and I get an error message, which isn't much help. The error is like the following:
readyState: 0
status: 0
statusText: "error"
Run Code Online (Sandbox Code Playgroud)
My code is:
$.ajax("http://testapi.com/api", {
data: …Run Code Online (Sandbox Code Playgroud)