Thread
#multiplatform
    4ntoine

    4ntoine

    2 years ago
    Hi, all. Being practical my question is “What can be used for files IO in Kotlin Multiplatform at the moment” (let’s say i want to open a text file and get all the lines on both iOS and Android)? I came up with some expected classes and home-brew 
    actual
     impls using 
    fopen(), ...
     in the 
    native
     sourceSet. Any existing/proper way of doing that? PS. https://github.com/orangy/kotlinx-files seems to be discontinued
    g

    Glen

    2 years ago
    Hello, @4ntoine. You could probably consult this library :https://github.com/korlibs/korio
    4ntoine

    4ntoine

    2 years ago
    @Glen Thank you, i will take a look
    g

    Glen

    2 years ago
    👍
    @4ntoine, it seems the previous library I referenced does not have support for iOS. Here is another library :https://github.com/icerockdev/moko-resources
    d

    Darran

    2 years ago
    interesting - i would have thought there would be a kotlin mp implementation for accessing files on android, ios, desktop already