Thibault Durand created CB-7687:
-----------------------------------
Summary: iOS8 : Unable to use iosExtraFileSystems
Key: CB-7687
URL: https://issues.apache.org/jira/browse/CB-7687
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File
Affects Versions: 3.5.0, 3.4.0, 3.6.0
Environment: iOS 8
Reporter: Thibault Durand
Hello,
I'm working with the filesystem plugin and i've an issue on iOS.
I need to open a filesystem on the Library/NoCloud directory, the documentation
on github says that we should set these two variable in the config.xml:
<preference name="iosPersistentFileLocation" value="Library" />
<preference name="iosExtraFilesystems" value="library-nosync" />
But when i request the filesystem it gave me this path: Library/files , and i'm
unable to move to Library/NoCloud because the root is files.
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fs) {
console.log("init fs sucess");
},function(error) {
console.log("Error init fs"+ error.code);
});
I don't know if it's a bug or i've misinterpreted the documentation.
To reproduce it, you can:
-> create a test app
-> install the file system plugin
-> set these two variable in config.xml:
<preference name="iosPersistentFileLocation" value="Library" />
<preference name="iosExtraFilesystems" value="library-nosync" />
-> request the file system, the path is: Library/files
Thanks a lot.
Best regards,
Thibault
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)