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

initialise Koin in shared code #32

Closed
wants to merge 1 commit into from

Conversation

joreilly
Copy link
Contributor

@joreilly joreilly commented Nov 2, 2024

Uses KoinApplication in shared CMP code to initialise Koin (cc @arnaudgiuliani)

@arnaudgiuliani
Copy link

Great, thanks 👍

@zsmb13
Copy link
Collaborator

zsmb13 commented Nov 12, 2024

Does this API offer any specific benefits on top of making the code cleaner? I'm a little hesitant to merge this change because if users of this template need to add some platform-specific setup code (for example, to pass in a Room builder per platform), that will be more difficult for them to figure out without seeing the platform entry points.

@joreilly
Copy link
Contributor Author

That's a fair point and this was just in case it was useful....mostly as you say to make code cleaner. You do have option to pass iOS specific "stuff" in to MainViewController but perhaps means there isn't uniform way to do this if needed for other platforms as well.

@joreilly joreilly closed this Nov 12, 2024
@arnaudgiuliani
Copy link

I'm working on this topic now, trying to allow easier setup from Android. I'll propose you when it's ready.

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

Successfully merging this pull request may close these issues.

3 participants