compose-multiplatform-file-picker icon indicating copy to clipboard operation
compose-multiplatform-file-picker copied to clipboard

Fix library crash while getting byteArray for `content` AndroidFile scheme

Open shubhamsinghshubham777 opened this issue 1 year ago • 1 comments

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

shubhamsinghshubham777 avatar Dec 26 '23 04:12 shubhamsinghshubham777

@Wavesonics Could you please have a look at this? Or maybe suggest someone who is currently maintaining this library?

shubhamsinghshubham777 avatar Dec 30 '23 09:12 shubhamsinghshubham777