Hey everybody. First time posting. I just wanted to share a small library I made to fill a gap in part of a much larger personal project I've been working on. The main project is a game build in Compose which runs on Android, Desktop, and Browser.
With the release of Room3, I finally have a unified structured storage solution for all targets. The other part of the involves some binary data files that I prefer not to embed in the binary, but instead fetch and cache. I have been using
javax.io but
JS support is focused on server-side. So I went ahead and created a library to bridge the gap so I can share common code for reading arbitrary data files across all these platforms. On the web it uses OPFS.
https://github.com/mrenouf/kmp-filestorage
I haven't pushed code out to the public in a while, so I would love feedback, or thoughts. And of course thoughtful contributions, fixes or improvements are welcome! Thanks!