cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thibault Durand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7687) iOS8 : Unable to use iosExtraFileSystems
Date Thu, 02 Oct 2014 00:03:11 GMT
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)

Mime
View raw message