[
https://issues.apache.org/jira/browse/CB-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839929#comment-13839929
]
Vadim Shlyakhov commented on CB-3413:
-------------------------------------
Apparently in android fileEntry.fullPath returns file's URL while as per
http://www.w3.org/TR/file-system-api :
{quote}
fullPath of type DOMString, readonly
The full absolute path from the root to the entry.
{quote}
and ??An absolute path is a relative path from the root directory, prepended
with a '/'.??
> Inconsistency in GetFileEntry - uri's vs paths
> ----------------------------------------------
>
> Key: CB-3413
> URL: https://issues.apache.org/jira/browse/CB-3413
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, iOS, Plugin File
> Affects Versions: 2.7.0
> Reporter: Shravan Narayan
> Assignee: Ian Clelland
> Fix For: 3.3.0
>
>
> The getFileEntry in android returs a file: uri "file:///storage/something"
> while the getFileEntry on ios returns a file path "/var/something"...
> It is unclear whether we need to return a file: uri here or a path, but at
> the very least it should be consistent.
> Other platforms will have to be tested to ensure they are consistent with the
> chosen solution as well.
--
This message was sent by Atlassian JIRA
(v6.1#6144)