:wave::skin-tone-3: hey guys, thx for publishing k...
# touchlab-tools
l
👋🏼 hey guys, thx for publishing kampkit! very curious about what you guys began with the multiplatform koin implementation (https://github.com/touchlab/KaMPKit/blob/master/buildSrc/src/main/java/Dependencies.kt#L34). care telling us a little about it? how is it working? how does injection look like on the iOS side of things?
k
It’s ongoing. Check out #koin-dev and the little update to the top of the readme here: https://github.com/kpgalligan/koin/tree/kpg/kmp_update
The goal is to have an “official” MP version soon, but this is my forked branch. Haven’t done much injecting in iOS, but something to look at.
The summary on the design decisions is you have to do everything in the main thread, unless you config otherwise. The purpose is to be thread-aware, and not automatically freeze your objects on native. I also want Android/iOS to act the same, rather than having Android be thread-agnostic, but that’s up for debate currently.
👍🏼 1
Any other detail on thoughts?