accessing_security_scoped_resource 2.0.0 copy "accessing_security_scoped_resource: ^2.0.0" to clipboard
accessing_security_scoped_resource: ^2.0.0 copied to clipboard

PlatformiOSmacOS

Call `startAccessingSecurityScopedResource` and `stopAccessingSecurityScopedResource` in Flutter.

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
0
likes
150
points
66
downloads

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

Call `startAccessingSecurityScopedResource` and `stopAccessingSecurityScopedResource` in Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on accessing_security_scoped_resource