. When you get file system access using requestFileSystem , access is granted for the sandboxed file system only (the sandbox limits access to the app itself), not for general access to any file system location on the device. (read here for TEMPORARY and here for PERSISTENT storage tutorial) To access file system locations outside the sandboxed storage, use other methods such as window. requestLocalFileSystemURL , which support platform-specific locations. As of Cordova v1.2.0 (cordova-plugin-file), URLs to important file-system directories are provided. Each URL is in the form file:///path/to/spot/, and can be converted to a DirectoryEntry using window. resolveLocalFileSystemURL (). ( read here ) . Methods requestFileSystem() Requests a file system where data should be stored. You access a sandboxed file system by requesting a LocalFileSystem object using this global method, window.requestFileSystem() . void requestFileSystem( in unsigned shor...
Comments