mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-6106: Ensure that nativeURL is used by file transfer download
This commit is contained in:
@@ -185,6 +185,7 @@ FileTransfer.prototype.download = function(source, target, successCallback, erro
|
||||
entry.name = result.name;
|
||||
entry.fullPath = result.fullPath;
|
||||
entry.filesystem = new FileSystem(result.filesystemName || (result.filesystem == window.PERSISTENT ? 'persistent' : 'temporary'));
|
||||
entry.nativeURL = result.nativeURL;
|
||||
successCallback(entry);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user