You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matthew Horn (JIRA)" <ji...@apache.org> on 2015/06/19 20:50:00 UTC
[jira] [Created] (CB-9220) Persistent path different from 3.7.0 to
4.0.2 (Phonegap 5.1.1)
Matthew Horn created CB-9220:
--------------------------------
Summary: 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
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