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.32k stars 653 forks source link

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

Closed NobodyForNothing closed 2 weeks ago

NobodyForNothing commented 1 month 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 4 weeks ago

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

github-actions[bot] commented 2 weeks ago

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