Dallasphillips24
08/24/2025, 3:20 PMInventoryManager 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.arnaud.giuliani
09/10/2025, 3:20 PM