if you build a framework that uses shared code that uses kotlinx serialization do you need to somehow include kotlinx serialization for ios in your framework or consumer app?
d
Daniele B
09/18/2020, 2:45 PM
no, you just need to define it in the shared build.gradle.kts file
I need to export the the binary output of the kotlinx.serialization library so that it is available at runtime to my framework
d
Daniele B
09/28/2020, 1:27 AM
In case you need to reference kotlinx.serialization objects from the ios app, then yes. But I was assuming from the ios app you were accessing data which was already processed into custom data structures.
d
dazza5000
09/29/2020, 2:18 PM
I am calling a function from iOS that then calls Json.encodeToString
d
Daniele B
10/01/2020, 5:03 PM
ok, so in that case you need to include the serialization library on the iosApp gradle file