tree: 3874266465152055f12d0cdb6738d6b804656951 [path history] [tgz]
  1. example/
  2. lib/
  3. test/
  4. AUTHORS
  5. CHANGELOG.md
  6. LICENSE
  7. pubspec.yaml
  8. README.md
packages/image_picker/image_picker_macos/README.md

image_picker_macos

A macOS implementation of image_picker.

Limitations

ImageSource.camera is not supported unless a cameraDelegate is set.

pickImage()

The arguments maxWidth, maxHeight, and imageQuality are not currently supported.

pickVideo()

The argument maxDuration is not currently supported.

Usage

Import the package

This package is endorsed, which means you can simply use file_selector normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Entitlements

This package is currently implemented using file_selector, so you will need to add a read-only file acces entitlement:

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