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

Slackbot

11/30/2023, 5:37 PM
This message was deleted.
l

LeoColman

11/30/2023, 5:49 PM
I think you need to register
androidContext
in the application, like this:
You'll only be able to access it after you register it
r

Romão

11/30/2023, 9:18 PM
Thanks @LeoColman. But since its a KMM project i think the setup is different https://insert-koin.io/docs/reference/koin-mp/kmp Im following, adapt from https://github.com/MohamedRejeb/Pokedex/tree/main which is compreensible but stuck in the following error.
l

LeoColman

11/30/2023, 9:22 PM
I think the same applies to MPP; Inside your Android start-up you need to tell Koin where to find AndroidContext
🙌 1
Pokedex does it here, for instance
r

Romão

11/30/2023, 10:12 PM
yes! i got it. Many thanks @LeoColman 🙌
koin parrot 1