Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4.8
-
None
-
Windows platform
File-transfer plugin@0.4.9-dev
file plugin@1.3.4-dev
Description
download() in file-transfer plugin expects path instead of internal URL on windows
This bug seems to be introduced with these changes to cordova-plugin-file: https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f
All tests for download method of file-transfer plugin now fail on windows with following message:
Exception calling native with command :: FileTransfer :: download ::exception=WinRTError: The parameter is incorrect.
As per internal discussion, this line may be the cause:
https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L166