You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dennis Clark (JIRA)" <ji...@apache.org> on 2015/07/01 21:30:05 UTC
[jira] [Commented] (CB-9220) Persistent path different from 3.7.0
to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610874#comment-14610874 ]
Dennis Clark commented on CB-9220:
----------------------------------
As we drill down, it seems like the file plugin is stuck operating in compatibility mode(using Compatibility as default) despite the following preference line in our config.xml file
<preference name="AndroidPersistentFileLocation" value="Internal" />
Does anyone know where this preference is stored in the apk file so we can check if the preference is carrying through?
Or, conversely where does the file plugin go to look for the preference in the apk?
Thanks!
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org