[ 
https://issues.apache.org/jira/browse/CB-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Keith Johnston updated CB-6201:
-------------------------------------

    Attachment: copyToMoveToCode.txt

You are correct.  Version 1.0.0 copyTo and moveTo returns "a file URL like
{{file:///storage/emulated/0/here/is/my/file.jpg}}, " which is readily used
by an html IMG tag src.  However, in version 1.1.0 the copyTo and moveTo
are returning what you described which a partial path "relative to the root
of the PERSISTENT file system" which cannot be readily used and html IMG
tag src.  Consequently, apps such as mine expecting the "fullPath" are
broken by version 1.1.0.  I've attached my code.





-- 
<http://www.alpinetechsolutions.com>


> Invalid full path and URI returned from fileEntry.moveTo and fileEntry.copyTo 
> ------------------------------------------------------------------------------
>
>                 Key: CB-6201
>                 URL: https://issues.apache.org/jira/browse/CB-6201
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 1.1.0
>         Environment: I'm building Android and iOS with build.phonegap.com 
> version 3.10.  This issue is occuring on both Android and iOS.
>            Reporter: brian johnston
>            Assignee: Ian Clelland
>         Attachments: copyToMoveToCode.txt
>
>
> fileEntry.fullPath does not return the full path in version 1.1.0.  However, 
> version 1.0.0 of the file plugin does return the full path.  This issue 
> occurs on both iOS and Android.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to