-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#3862Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectp: file_selectorThe file_selector pluginThe file_selector pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
Currently it's possible to specify mime types, but they don't actually do anything on the native side. We need to wire up an @available-gated path that uses allowedContentTypes instead of the deprecated-in-macOS-12 allowedFileTypes, and convert each filter type to its corresponding UTType. (The method channel already passes them separately, rather than combining them on the Dart side, to facilitate this change.)
(/cc @cbracken as this would be a good first "contribute to a macOS plugin" project for someone at some point.)
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectp: file_selectorThe file_selector pluginThe file_selector pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically