https://kotlinlang.org logo
#koin
Title
# koin
p

Pablichjenkov

10/09/2023, 6:24 AM
Couldn't find any JS/jvm example online. Does koin support these 2 targets. If so, could anyone point to a sample project.
m

mohamed rejeb

10/09/2023, 7:00 AM
Yes these targets are supported. Koin code is written in commonMain so it should be the same with all targets.
👍 2
Call
startKoin
after the main function.
👍 1
p

Pablichjenkov

10/09/2023, 7:04 AM
Ah great, will check when I have a chance. Thanks
j

Jacob Ras

10/09/2023, 7:17 AM
I use Koin in an Android/JS project, even with the annotation processor :-)
p

Pablichjenkov

10/09/2023, 7:21 AM
Sweet 👍
Perhaps my search keys were bad or something but all the results I got from Google were "kmm" stuff.