Skip to content

Call `startAccessingSecurityScopedResource` and `stopAccessingSecurityScopedResource` in Flutter.

License

Notifications You must be signed in to change notification settings

flutter-cavalry/accessing_security_scoped_resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pub package

accessing_security_scoped_resource

Call iOS / macOS startAccessingSecurityScopedResource and stopAccessingSecurityScopedResource in Flutter.

Usage

final _plugin = AccessingSecurityScopedResource();

final folderPath = /* Get a folder path */;

// Get access.
final hasAccess = await _plugin.startAccessingSecurityScopedResourceWithFilePath(folderPath);

// Release access.
_plugin.stopAccessingSecurityScopedResourceWithFilePath(folderPath);

URL-based APIs:

  • startAccessingSecurityScopedResourceWithURL
  • stopAccessingSecurityScopedResourceWithURL

About

Call `startAccessingSecurityScopedResource` and `stopAccessingSecurityScopedResource` in Flutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published