flutter_file_picker
flutter_file_picker copied to clipboard
getDirectoryPath() only gives access to media files in a directory
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
- use the method on android 11.
- select any directory with non media files.
Flutter Version details