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

(Docs) FileTransfer: description for upload() success callback is wrong

    XMLWordPrintableJSON

Details

    Description

      In description of parameter for FileTransfer.upload method, it is said that Metadata object is passed to specified success callback function. But I think FileUploadResult object is passed.

      upload

      Parameters:

      • filePath: Full path of the file on the device.
      • server: URL of the server to receive the file, as encoded by encodeURI().
      • successCallback: A callback that is passed a Metadata object. (Function)

      Attachments

        Activity

          People

            Unassigned Unassigned
            shingot Shingo Toda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: