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

Tony Leung commented on CB-9220:
--------------------------------

I see the same problem and file a bug.
https://issues.apache.org/jira/browse/CB-9251

Related to the 4.0.2 security issue fix
https://cordova.apache.org/announcements/2015/05/26/android-402.html

Loading config.xml <preference name="AndroidPersistentFileLocation" 
value="Internal" /> is disabled. File plugin needs to address the issue.

> Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
> --------------------------------------------------------------
>
>                 Key: CB-9220
>                 URL: https://issues.apache.org/jira/browse/CB-9220
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File
>    Affects Versions: 4.1.0
>         Environment: HTC One M7 / Android 5.0.2
>            Reporter: Matthew Horn
>            Assignee: Joe Bowser
>         Attachments: cordova-5-config2.xml
>
>
> Config.xml
> <preference name="android-installLocation"    value="internalOnly" />
> <preference name="AndroidPersistentFileLocation" value="Internal" />
> <preference name="iosPersistentFileLocation" value="Library" />
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, 
> function(fileSystem){});
> Version 3.7.0
> FS: fileSystem.root.toURL(): 
> file:///data/data/com.myapp.app.myapp/files/files/
> FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/
> FS: fileSystem.root.nativeURL: 
> file:///data/data/com.myapp.app.myapp/files/files/
> Version 5.1.1
> FS: fileSystem.root.toURL(): file:///storage/emulated/0/
> FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/
> FS: fileSystem.root.nativeURL: file:///storage/emulated/0/
> window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', 
> function(oEntry){})
> Version 3.7.0
> nativeURL: "file:///data/data/com.myapp.app.myapp/files/files/"
> Version 5.1.1
> nativeURL: "file:///storage/emulated/0/"
> This is currently breaking links to existing data, any ideas? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to