I created a graphic of my scenario where I am havi...
# koin
d
I created a graphic of my scenario where I am having issues. The
InventoryManager
has a constructor dependency on an
HttpClient
which is provided by an implementation of
IHttpClientFactory
. The manager and factory interface are defined in commonMain. The implementation of the factory is
OkHttpClientFactory
in androidMain, provided in a module also in androidMain.
inventoryModule
in commonMain has a factory defined for the client factory to create instances of the http clients. The koin application is created in androidMain. koin throws an error when the factory is called, stating that it cant find a parameter for
IHttpClientFactory
even though one is provided by the module in androidMain.
a
can you share your config snippets?