flutter_file_picker icon indicating copy to clipboard operation
flutter_file_picker copied to clipboard

getDirectoryPath() only gives access to media files in a directory

Open noob8boi opened this issue 1 year ago • 0 comments

Describe the bug getDirectoryPath() method on android gives access to media-only files but not the files like .zip, .csv etc. If this is the intended behavior then requesting MANAGE_EXTERNAL_STORAGE permission is the only way?

Platform

  • Android

Platform OS version Android 11

How are you picking?

final directoryPath = await FilePicker.platform.getDirectoryPath();

Details to reproduce the issue

  1. use the method on android 11.
  2. select any directory with non media files.

Flutter Version details image

noob8boi avatar Feb 16 '24 13:02 noob8boi