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

File plugin returns the wrong path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.4.0, 3.5.0
    • None
    • cordova-plugin-file
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: