https://kotlinlang.org logo
#compose-web
Title
# compose-web
s

Stefan Oltmann

12/13/2023, 10:07 PM
Given that
com.darkrockstudios:mpfilepicker
currently lacks a WASM/WASI target, could someone direct me to an example illustrating how to read the contents of a file? Whether it involves implementing a button with a file picker or utilizing "Drag your files here" boxes with dashed lines, either approach is acceptable. I am specifically seeking a method to retrieve the contents of a user-selected file in my Compose for Web application as a ByteArray.
2 Views