You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/04/30 04:38:17 UTC
[jira] [Resolved] (CB-6525) download success callback not called in
0.4.3
[ https://issues.apache.org/jira/browse/CB-6525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-6525.
-------------------------------
Resolution: Fixed
Assignee: Andrew Grieve
Ran into this when working on cordova-app-harness.
Fix is in cordova-file@1.1.1-dev
> download success callback not called in 0.4.3
> ---------------------------------------------
>
> Key: CB-6525
> URL: https://issues.apache.org/jira/browse/CB-6525
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Affects Versions: 3.4.0
> Environment: Cordova 3.4.1
> iOS
> 0.4.3 of the file transfer plugin
> Reporter: AH
> Assignee: Andrew Grieve
>
> I've noticed that the success callback doesn't get executed after a download is successfully completed. Specifically, if success contains a console.log, nothing is logged to the Xcode debugger even though the download has completed successfully. I can tell that the download was completed because the following message is logged in Xcode: "File Transfer Finished with response code 200"
> transfer.download(src, localPath, success, error);
> I think this is an issue with version 0.4.3 of the file transfer plugin. Version 0.4.2 of the plugin running on Cordova 3.4.1 didn't have this bug.
> I found another possible report of this bug: http://stackoverflow.com/questions/23240807/cant-setmetadata-while-downloading-files-via-filetransfer-download-in-ios-in-ph
--
This message was sent by Atlassian JIRA
(v6.2#6252)