compose-multiplatform-file-picker
compose-multiplatform-file-picker copied to clipboard
Issue with folder picker in Android
I'm using folder picker and it works properly in desktop but in Android, i have some troubles.
When user clicks on a fab, i will show the folder picker dialog, and user choose the target folder, the path returned to my app is something like this:
content://com.android.externalstorage.documents/tree/primary%3ADownload/MyApp
After that i'm checking is that folder exists or not:
val file = File(path)
val isExists = file.exists()
In desktop it returns true but in Android it always returns false.