You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sam Deepak (JIRA)" <ji...@apache.org> on 2016/02/02 21:14:39 UTC

[jira] [Created] (CB-10515) LocalFileSystem.PERSISTENT does not detect file system storage

Sam Deepak created CB-10515:
-------------------------------

             Summary: LocalFileSystem.PERSISTENT does not detect file system storage
                 Key: CB-10515
                 URL: https://issues.apache.org/jira/browse/CB-10515
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Sam Deepak


The call to window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function() {}); does not detect the root storage location in windows phone 8.x. Rather it points to private data directory,even after adding   the capability for accessing the local file system (removableStorage) in AppManifest.xml.

Basically window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,function(fileSystem) {}, function(error){}) gives me only "ms-appx://local" path which is actually the private data directory for an app in windows phone. I want to access the root directory of the file system because I am letting the user to store app specific files anywhere in the phone. (It works in Android without specifying anything)

Basically the above LocalFileSystem.PERSISTENT should not point to private data directory, rather it should be the root directory of the local file system.



--
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