tree: b507fe2d2b4e5365b64d49069ad6d95923dcfef1 [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.