miguelpruivo / flutter_file_picker

File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
MIT License
1.35k stars 672 forks source link

Automatically saving files to `getDirectoryPath()` directories #1573

Closed derdilla closed 2 months ago

derdilla commented 3 months ago

On android the ACTION_OPEN_DOCUMENT_TREE intent started when calling FilePicker.platform.getDirectoryPath() grants more permanent permissions than exposed through the file_picker api. Specifically it allows saving files without asking for permissions again, which is useful in the context of reoccurring exports.

My suggestion is that since in FilePicker.platform.saveFile the initialDirectory parameter isn't implemented on android, it could be used to attempt save a file to a previously picked directory.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.