compose-multiplatform-file-picker
compose-multiplatform-file-picker copied to clipboard
Fix library crash while getting byteArray for `content` AndroidFile scheme
This PR fixes the library crash when the user tries to extract ByteArray out of a selected file that has the fileScheme of type content (content://---) instead of file (file://---).
Demo (before fix)
https://github.com/Wavesonics/compose-multiplatform-file-picker/assets/46640516/7a78f66e-682b-4405-a9b9-c92771b98e28
Demo (after fix)
https://github.com/Wavesonics/compose-multiplatform-file-picker/assets/46640516/5089a873-8096-40b7-b45d-b64767c986ea
@Wavesonics Could you please have a look at this? Or maybe suggest someone who is currently maintaining this library?