hey! 👋
I'm having a hard time tracking down how to fix this issue I'm seeing
I have an Android Compose module using Koin and I'm adding it to my main project.
In my release variant, R8 seems to be removing
androidx.core.bundle.Bundle
, so it fails to build
Missing class androidx.core.bundle.Bundle (referenced from: kotlin.jvm.functions.Function0 org.koin.viewmodel.BundleExtKt.emptyState() and 2 other contexts)
I would assume I need to add some consumer proguard rules, so I am trying to add
-keep class androidx.core.bundle.Bundle {}
to my Proguard configuration, but this doesn't fix the issue.
I've tried adding
org.jetbrains.androidx.core
to the project to see if providing it fixes it, but unfortunately, nothing.
Koin 4.0.4 (
koin-android
and
koin-androidx-compose
)
Compose BOM 2024.04.00
Kotlin 2.1.20