Skip to content

[koin-android] Remove transitive dependency for appcompat library #2272

@egorikftp

Description

@egorikftp

Is your feature request related to a problem? Please describe.

I've started migrating some internal project to KMP and noticed that the koin-android artifact transitively adds the appcompat library. This is really unnecessary because we now rely on ComponentActivity from the androidx.activity artifact.

Describe the solution you'd like

Remove all usages of the appcompat library in the koin-android artifact and replace them with ComponentActivity. Essentially, we are already using it since AppCompatActivity extends from ComponentActivity.

Target Koin project

This affects the koin-android artifact only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions