tree: f12a25ed7eb032679bedc6064648fde834f9c7d5 [path history] [tgz]
  1. example/
  2. lib/
  3. macos/
  4. test/
  5. .gitignore
  6. .metadata
  7. AUTHORS
  8. CHANGELOG.md
  9. LICENSE
  10. pubspec.yaml
  11. README.md
packages/file_selector/file_selector_macos/README.md

file_selector_macos

The macOS implementation of file_selector.

Usage

Importing the package

This implementation has not yet been endorsed, meaning that you need to depend on file_selector_macos in addition to depending on file_selector.

Once your pubspec includes the macOS implementation, you can use the file_selector APIs normally. You should not use the file_selector_macos APIs directly.

Entitlements

You will need to add an entitlement for either read-only access:

	<key>com.apple.security.files.user-selected.read-only</key>
	<true/>

or read/write access:

	<key>com.apple.security.files.user-selected.read-write</key>
	<true/>

depending on your use case.