When trying to access parent directory on Android, I'm getting crash with this log message:
FATAL EXCEPTION: main
io.github.vinceglb.filekit.exceptions.FileKitException: Uri is not a directory: content://com.android.externalstorage.documents/tree/primary%3ADocuments/document/primary%3ADocuments
The context of use is:
fun dirLevelUp() {
currentDir.value = currentDir.value?.parent()
}
Steps to Reproduce:
Pick a directory using FileKit.openDirectoryPicker().
Access a subdirectory or document, then attempt to navigate back up using currentDir.parent().
Try to list files of the returned parent directory.
Sorry if something is off, I place an issue for the first time. Thanks for your work, I enjoy using your lib!
When trying to access parent directory on Android, I'm getting crash with this log message:
The context of use is:
Steps to Reproduce:
Sorry if something is off, I place an issue for the first time. Thanks for your work, I enjoy using your lib!