Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
-
None
-
Android/iOS
Others untested
Description
The download method on FileTransfer never fires the error callback if there is a network connection but the download URL is not accessible. It simply waits forever and does not return.
Reproduction:
var fileTransfer = new FileTransfer();
fileTransfer.download('http://nosuchserver/nosuchfile.png', fullPath, function(entry)
, function(error)
{ console.log("download error source " + error.source); console.log("download error target " + error.target); console.log("download error code" + error.code); });