I use Image Picker plugin and use File Transfer to upload the file. What I noticed is that, it seems to upload the first few images and the ones at the last end of the queue fails with a Code 3 error. The error is like this:
What I feel is, this error is probably due to the timeout in the File Transfer queue and it happens when users upload 15 files where the first 10-12 files uploads fine and the remaining ones throws this error.
Has anyone else experienced this when using ImagePicker with File Transfer plugin? How do you mitigate it?
window.imagePicker.getPictures(
function(results) {
for (var i = 0; i < results.length; i++) {
var fileURI = results[i];
if (fileURI) {
// use FileTransfer
var promise = fileTransfer(fileURI, mime, server)
.then( function(response) {
// All Good
}, function(error) {
// Error
});
}
}
}, function (error) {
// console.log('Error: ' + error);
}
);
I use Image Picker plugin and use File Transfer to upload the file. What I noticed is that, it seems to upload the first few images and the ones at the last end of the queue fails with a Code 3 error. The error is like this:
What I feel is, this error is probably due to the timeout in the File Transfer queue and it happens when users upload 15 files where the first 10-12 files uploads fine and the remaining ones throws this error.
Has anyone else experienced this when using ImagePicker with File Transfer plugin? How do you mitigate it?