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

File plugin returns the wrong path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4.0, 3.5.0
    • Fix Version/s: None
    • Component/s: cordova-plugin-file
    • Labels:
    • Environment:

      iPhone 5s, iOS-Simulators

      Description

      The file-module returns a unsuitable file-path description in iOS.
      HTML-Tags '<img>', '<video>' and '<audio>' don't work with it.

      file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 'file:///user/' and ending with '/folder/file.type'

      file-module has been tested in this versions:

      • 1.0.1
      • 1.1.0
      • 1.1.1

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcel79 Mac Stuewe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: