onProgress() callback of Fine Uploader does not work in Android devices. Here is my code:
onProgress: function(id, fileName, loaded, total)
{
//alert('debug'); this alert shows after download is completer
if (loaded < total) {
progress = '"' + fileName + '" uploaded ' + Math.round(loaded / total*100) +'%';
$('#progress').html(progress);
}
else {
$('#progress').html('saving');
}
}
onProgress() is called after uploading has finished. What can be problem and how to fix it?
In official docs it says: onProgress(String id, String name, int uploadedBytes, int totalBytes) - called during the upload, as it progresses. Only used by the XHR/ajax uploader.