Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Voyager-Koin with wasm in Kotlin Multiplatform #392

Closed
landmuc opened this issue Apr 16, 2024 · 1 comment
Closed

Using Voyager-Koin with wasm in Kotlin Multiplatform #392

landmuc opened this issue Apr 16, 2024 · 1 comment

Comments

@landmuc
Copy link

landmuc commented Apr 16, 2024

I'm trying to add the voyager-koin dependency to my km-project targeting android, ios and web using this version "cafe.adriel.voyager:voyager-koin:1.1.0-alpha04". Version 1.1.0-alpha03 of voyager states the wasm support was added ("WASM support by @DevSrSouza in #289"). Since I am using other voyager dependencies like voyager-navigator and voyager-screenmodel I am wondering if there is yet not support for voyager-koin or if I am doing something wrong?
Has anyone successfully implemented voyager-koin in a km-project with wasm?

@DevSrSouza
Copy link
Collaborator

Currently, the voyager-koin module is using stable version for Koin Compose, this version does not have support to wasm yet.
If you want to use Voyager Koin extensions, you can just copy the functions and use in your project and it should work out of the box with Koin Compose Wasm.

@landmuc landmuc closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants