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

Shravan Narayan commented on CB-3413:
-------------------------------------

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

Reply via email to