Hi , is there a way to access the app koin module from an app extension(widget) in ios without having to create a new koin module for it.
f
François
10/11/2024, 10:42 AM
you need to share between your app and extension the koinapplication instance, then you can share the ressources
❤️ 1
m
Mohamed Mabrouki
10/11/2024, 10:49 AM
yes im trying to find a way to get the same instance of koinapplication inside the widget
f
François
10/11/2024, 10:51 AM
I don’t think it’s possible, only value with appgroup/file/keychain, no direct communication
✅ 1
m
Mohamed Mabrouki
10/11/2024, 10:54 AM
thanks for reassuring man.
i was just tying to do that using app groups to share 2 values from the app to the widget and have it run its own koinmodule using the data i shared