Background
I have a few apps that make heavy use of SD card for file syncing. The broken external SD card access on Kitkat is still a big problem, but I
The underlying bug seems to be fixed. I also encountered that problem and without any code changes it works now with version 1.0.1 of the documentfile package.
documentfile
dependencies { ... implementation 'androidx.documentfile:documentfile:1.0.1' ... }