Hi everyone :wave: I was wondering if there are an...
# multiplatform
g
Hi everyone 👋 I was wondering if there are any tools available for code obfuscation in Kotlin/Native (similar to R8 on Android). Without an obfuscation tool, how are we supposed to safely ship production apps built with Kotlin/Native? Is there anything currently in development that’s open source and free? Thanks in advance! 🙏
f
Kotlin native in release build is already obfuscate by nature. In native development world, there is some security solution to increase the obfuscation of code but I didn’t find one supporting kotlin/native
p
In also depends on the target you're targeting, for jvm targets you can use normal java deobfuscator.
p
For jvm it is also possible to use r8, if write JavaExec Gradle task that will execute r8 with passing input as cmd args
f
The question is about kotlin native. kotlin jvm obfuscation has existing solutions, it’s pretty standard