[
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14005960#comment-14005960
]
Mac Stuewe edited comment on CB-6735 at 5/22/14 2:41 PM:
---------------------------------------------------------
yellow-background: <img>-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName
the image below the working image has the path from the yellow-background
img-tag
was (Author: marcel79):
yellow-background: <img>-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName
the image below the working image has the path from the yellow-background
img-tag
> 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: iOS
> Affects Versions: 3.4.0
> Reporter: Mac Stuewe
> 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)