cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shravan Narayan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-3413) Inconsistency in GetFileEntry - uri's vs paths
Date Thu, 16 May 2013 16:21:16 GMT

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

Shravan Narayan edited comment on CB-3413 at 5/16/13 4:19 PM:
--------------------------------------------------------------

To clarify, this is an example

JS Code
fs.root.getFile(fileName, {}, function(fileEntry) {

}, error);


The fileEntry retrieved here has a path on ios and a uri on android.
These values are originally set in native code.
                
      was (Author: shravanrn):
    To clarify, this is an example

JS Code
fs.root.getFile(fileName, {}, function(fileEntry) {

};, error);


The fileEntry retrieved here has a path on ios and a uri on android.
These values are originally set in native code.
                  
> 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
>    Affects Versions: 2.7.0
>            Reporter: Shravan Narayan
>            Assignee: Andrew Grieve
>             Fix For: 2.8.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message