[ https://issues.apache.org/jira/browse/CB-10515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130188#comment-15130188 ]
Sam Deepak edited comment on CB-10515 at 2/3/16 10:26 AM: ---------------------------------------------------------- Hi Sergey, When I executed this statement window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,function(fileSystem) {}, function(error){}) in windows phone 8.x, it gave me the access to ms-appx://local. I gave an alert to display the output of .toURL() method, it displays "ms-appx/://local" in sideloading and ms-appdata://local in WP8.1 (private data directory), as mentioned here at :https://github.com/apache/cordova-plugin-file#windows-file-system-layout. But When I read windows phone 8.x site at https://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx, it is said that "removableStorage" capability has to be added to AppManifest.xml to get permission to storage system. But when I did it, it did not work. By your answer, do you mean that right now one can not access the storage at the present moment in WP8.1 ? Please advice. was (Author: theodarsamuel): Hi Sergey, When I executed this statement window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,function(fileSystem) {}, function(error){}) in windows phone 8.x, it gave me the access to ms-appx://local. I gave an alert to display the output of .toURL() method, it displays "ms-appx/://local" in sideloading and ms-appdata://local in WP8.1 (private data directory), as mentioned here at :https://github.com/apache/cordova-plugin-file#windows-file-system-layout. But When I read windows phone 8.x site at https://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx, it is said that "removableStorage" capability has to be added to AppManifest.xml to get permission to storage system. But when I did it, it did not work. By your answer, do you mean that right now once can not access the storage at the present moment in WP8.1 ? Please advice. > 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: New Feature > Reporter: Sam Deepak > Labels: triaged, windows > > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org