alexrintt / shared-storage

Flutter plugin to work with Android external storage.
http://alexrintt.io/shared-storage/
MIT License
54 stars 26 forks source link

Make `COLUMN_DOCUMENT_ID` optional when using with `listFiles` #52

Closed alexrintt closed 2 years ago

alexrintt commented 2 years ago

Fix #50.

Since this column is required to list all files, we need to query it even when not explicity requested by the plugin user.

https://github.com/lakscastro/shared-storage/blob/1bfeb88df69938c62d7709861cc426ec71515f3c/android/src/main/kotlin/io/lakscastro/sharedstorage/storageaccessframework/lib/DocumentCommon.kt#L211-L212