A current project of mine has a flat file with key...
# multiplatform
t
A current project of mine has a flat file with key=value pairs for qa and prod that are loaded at startup. What is the best practice for doing something like this in the shared module of KMM?
m
This might be one.
j
You should be able to use Okio to read from file in the shared code (https://square.github.io/okio/multiplatform/)
t
@John O'Reilly My issue was that I was trying to put the file in the shared module and access it from both iOS and Android. I see you have each application grab the path and pass it to the word service. I hope to distribute the shared code as a stand alone library, so I was trying to make it so that the app didn't have to configure it. My desire was that the library initialization would take care of loading it.