Debug in the Chrome console to find the place where you'd like to start + stop the progress bar. Then use the following snippet to change the widget src:
var pid = mx.ui.showProgress(); // show progress dialog
mx.ui.hideProgress(pid); // hide it again
There is actually a pullrequest pending on GitHub for this widget which provides this, and more. I also submitted a pull request, to make it open the camera immediately upon opening the page. Hopefully these get some attention in the near future.
The spinners don't show any real progress. Would recommend to have a look at the onprogress option.
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file-transfer/
var ft = new FileTransfer();
ft.onprogress = function(progressEvent) {
if (progressEvent.lengthComputable) {
loadingStatus.setPercentage(progressEvent.loaded / progressEvent.total);
} else {
loadingStatus.increment();
}
};
ft.upload(fileURL, uri, win, fail, options);