You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using koin annotations in a multi module setup with platform specific koin modules fails to compile with
Expected class KoinNativeModule does not have default constructor
I've added a test project, This project contains an Android app and two separate KMM modules. This links as App -> Shared -> Shared2
Removing the shared2 dependency from the module "shared" will build the app without issues. The IDEA still points out the issue, but it doesn't fail the compilation
Expected behavior
The compilation should not break, just as it doesn't break if the module is referenced directly by the app module
Koin project used and used version (please complete the following information):
koin = "3.6.0-Beta5"
koin-compose = "1.2.0-Beta5"
koin-annotations = "1.4.0-RC4"
Difference with original project is that your iOS part seems not complete. Seems also the case in KMP-app-Template, but the final generation is not stopped by the error
This way it still is App -> Module right? That structure did not have any issues for me. The issue arose when it has the structure App depends on ModuleA depends on ModuleB.
Using koin annotations in a multi module setup with platform specific koin modules fails to compile with
Expected class KoinNativeModule does not have default constructor
I've added a test project, This project contains an Android app and two separate KMM modules. This links as App -> Shared -> Shared2
Removing the shared2 dependency from the module "shared" will build the app without issues. The IDEA still points out the issue, but it doesn't fail the compilation
Expected behavior
The compilation should not break, just as it doesn't break if the module is referenced directly by the app module
Koin project used and used version (please complete the following information):
koin = "3.6.0-Beta5"
koin-compose = "1.2.0-Beta5"
koin-annotations = "1.4.0-RC4"
test project.zip
The text was updated successfully, but these errors were encountered: