Open acmpo6ou opened 2 weeks ago
Hey! Thanks for filling the issue, yeah, we will need to provide pro guard rules for the library out of the box, similar to have it's done in kotlinx.coroutines or similar. The reason for this, is that providers are loaded via JDK ServiceLoader, and so class name is important.
Additionally integration test will need to be added
Hello.
I have a KMP project with Desktop and Android as target OSes. I have this in my dependencies (the latest 4.0.0 version):
I'm using ProGuard:
If I compile a release uber jar:
Running it will result in this error message (the app doesn't crash, but the decryption doesn't happen either):
The debug build works perfectly fine, as well as a release build for Android.
To fix the above issue, I had to add this to my proguard file (
compose-desktop.pro
):and this to my
build.gradle.kts
: