[
https://issues.apache.org/jira/browse/CB-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883052#comment-13883052
]
sandeep paliwal commented on CB-5901:
-------------------------------------
1) - Cordova 3.3 js and file plugin mentioned in cordova_plugin.js is
(org.apache.cordova.file": "0.2.5")
2) I call get API on filesystem object which I had saved in a variable after
getting a persistent filesystem.
fileSystem.root.getFile(<absolute file path>, {create: false, exclusive:
throwErrorIfExists}, function(entry){
alert(entry.toURL());
});
> On Android FileEntry.toURL() append extra file://localhost to the file URL
> --------------------------------------------------------------------------
>
> Key: CB-5901
> URL: https://issues.apache.org/jira/browse/CB-5901
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin File
> Affects Versions: 3.3.0
> Environment: Android 4.2
> Reporter: sandeep paliwal
> Assignee: Ian Clelland
> Priority: Minor
>
> The returned URL from the FileEntry object's toURL() method is now of form
> file://localhostfile:///<actual file path here>.
> This happens only on Android.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)