You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shawn Freyssonnet-Inder (JIRA)" <ji...@apache.org> on 2014/08/15 12:38:18 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14098428#comment-14098428 ] 

Shawn Freyssonnet-Inder commented on CB-6525:
---------------------------------------------

So this is fixed? How can I get the fixed version?
If I get the plugin with
{code}cordova plugin add org.apache.cordova.file-transfer{code}
I still get a broken version that never calls the error callback

> 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)