KMM: Write file to directory

Hello, I’m basically a KMM noob, have written many iOS projects but just a few Android ones. I’m creating a KMM library that would be used by an Android app and an iOS one.

What I want to do is to write/read some content into each platform default directory, typically the Document directory of iOS, and the equivalent on Android.

What is the go-to way to do that with KMM?

Thanks a lot for the help!

submitted by /u/frouge
[link] [comments]