[
https://issues.apache.org/jira/browse/CB-10515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129919#comment-15129919
]
Sergey Shakhnazarov commented on CB-10515:
------------------------------------------
[~theodarsamuel], the current Windows implementation for PERSISTENT fs points
to {{ms-appdata}} not to {{ms-appx}} (the correct reference for {{ms-appx}} is
[cordova.file.applicationDirectory|https://github.com/apache/cordova-plugin-file#where-to-store-files]),
so this is the correct behavior (this is the application sandboxed private
storage, which persists restarts).
The issue you are talking about is {{cordova.file.externalRootDirectory}}
support for Windows, which resolves to ["<sdcard>/" on
Android|https://github.com/apache/cordova-plugin-file#android-file-system-layout].
> 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: [email protected]
For additional commands, e-mail: [email protected]