Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proguard removing necessary fetcher classes

rushiiMachine opened this issue · comments

commented

I'm forced to add this to my proguard rules otherwise Kamel refuses to load due to not being able to find classes through reflection

-keep class io.kamel.** { *; }

Is there a more accurate ruleset I can use rather than marking the whole lib to keep?

I finally just tried out enabling minify and you're right. I'm just going to remove reflection in the next release and use the same method as every other non-jvm target.

fixed by a3720b8

released in 0.8.3

You shouldn't need any rules now