In template I have button for calling upload function:
upload() function there are some other stuffs like zipping files and storing them in device, but at the end I call file transfer:
fileTransfer.upload(filePathToZip, apiUrl, options, true)
If I click on upload button, there is approximately 5-10s delay for zipping, saving and uploading. But if I during this delay click in menu to another page redirect the whole process is cancelled even the upload is not finished (I have to start it again than).
And I want to be able do finish upload even if I redirect during delay to another page…
Do you have enough informations?