You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shravan Narayan (JIRA)" <ji...@apache.org> on 2013/05/16 18:21:16 UTC

[jira] [Comment Edited] (CB-3413) Inconsistency in GetFileEntry - uri's vs paths

    [ 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