miguelpruivo/flutter_file_picker

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

Closed this issue · 4 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

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

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

This should be marked as open

@noob8boi Did you find a solution to this problem?