Skip to content

vldmrrr/cordova-plugin-grant-fs-access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title description
Grant FS Access
Allows user grant to an application file system access.

cordova-plugin-grant-fs-access

This plugin allows a user to provide cordova application access to a directory on storage that otherwise is not accessible under Android 11 and higher.

See API Documentation.

Usage:

  GrantFsAccess.getDirectory(
    "", // URI for the directory that should be opened in the system file picker when it loads.
    uri => {
      console.log(uri);  // URI of the directory that user selected
      // Use the resulting URI with file plugin
      window.resolveLocalFileSystemURL(
        uri,
        d=>console.log(d),
        err=>console.log(err)
      )
    }
  );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published