https://kotlinlang.org logo
m

MarkRS

11/29/2021, 12:24 PM
Accessing iOS files in KMM? I thought I'd seen comment (here) that Kotlin file access works, but I can't find any reference to it. Otherwise I'm trying to use NSFileManager and currently struggling with error returns from file access functions. Can anyone point me in the right direction (please)?
k

KamilH

11/29/2021, 12:29 PM
Okio 3.0.0 supports accessing files in KMM: https://square.github.io/okio/changelog/
m

MarkRS

11/29/2021, 12:30 PM
Hmm, thanks for that. Unfortunately (?) I'm using KTor, which also looks like it should allow access, but I can't get that to work either 😞