[
https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-9220.
----------------------------
Resolution: Cannot Reproduce
I can't reproduce. The functionality lives entirely in the plugin so the
change between Android versions should have zero effect on the functionality of
this plugin. I tested this on an HTC One M7 running 5.0.2, and Sense 6.0.
It's possible that the HTC One M7 is disregarding the installLocation for some
reason due to your internal storage being full, since I tested on an empty test
device, and not the device I use to dogfood.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]