You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Suraj Pindoria (JIRA)" <ji...@apache.org> on 2017/12/14 19:41:00 UTC
[jira] [Commented] (CB-6335) Blackberry file plugin accessing file
system returns no results
[ https://issues.apache.org/jira/browse/CB-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291454#comment-16291454 ]
Suraj Pindoria commented on CB-6335:
------------------------------------
Blackberry is no longer supported. Closing.
> Blackberry file plugin accessing file system returns no results
> ---------------------------------------------------------------
>
> Key: CB-6335
> URL: https://issues.apache.org/jira/browse/CB-6335
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-file
> Affects Versions: 3.4.0
> Environment: File plugin 1.0.1, Blackberry 10.2.x emulator & device (Z10)
> Reporter: Boston Dell-Vandenberg
> Priority: Minor
> Labels: BlackBerry10, Triaged
>
> Trying to access the Blackberry shared folder and list it's contents but the file plugin is returning no entries (FileError Code 1).
> blackberry.io.sandbox is set to false and the blackberry.io plugin is installed to access the shared folder path.
> I have tested on both emulator and device (10.2) with the following code:
> {code}
> window.requestFileSystem(
> LocalFileSystem.PERSISTENT,
> 1024 * 1024,
> function (fs) {
> fs.root.getDirectory(
> blackberry.io.sharedFolder,
> {},
> function(result) {
> var reader = result.createReader();
> reader.readEntries(
> function(entries) {
> console.log(entries);
> },
> function (error) {
> console.log('Failed to list directory contents: ', error);
> }
> );
> },
> function(error) {
> console.log('Error accessing shared folder');
> }
> );
> },
> function () {
> console.log('Error accessing local file system');
> }
> );
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org