Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6525

download success callback not called in 0.4.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • None
    • None
    • Cordova 3.4.1
      iOS
      0.4.3 of the file transfer plugin

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              superabuh AH
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: