cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AH (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-6525) download success callback not called in 0.4.3
Date Fri, 25 Apr 2014 18:53:15 GMT
AH created CB-6525:
----------------------

             Summary: 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


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)

Mime
View raw message