You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mac Stuewe (JIRA)" <ji...@apache.org> on 2014/06/03 08:46:02 UTC

[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

    [ https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016274#comment-14016274 ] 

Mac Stuewe edited comment on CB-6735 at 6/3/14 6:45 AM:
--------------------------------------------------------

For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG

Yesterday I was able to test this on a iOS-device.

I use cordova 3.5 and file 1.1.1


was (Author: marcel79):
For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG



> File plugin returns the wrong path
> ----------------------------------
>
>                 Key: CB-6735
>                 URL: https://issues.apache.org/jira/browse/CB-6735
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.4.0, 3.5.0
>         Environment: iPhone 5s, iOS-Simulators
>            Reporter: Mac Stuewe
>            Priority: Blocker
>              Labels: File
>         Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, Bildschirmfoto 2014-05-22 um 16.30.47.png
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)