Hello
How to do code obfuscation in kotlin/compose multiplatform app?
I am getting the solutions over the internet that do obfuscate android and iOS separately. What is the best way to do it?
m
Michael Paus
02/19/2025, 2:05 PM
What do you want to obfuscate on iOS? The code is compiled into a native binary. Isn’t that obfuscated enough?
a
Ali Azaz Alam
02/20/2025, 2:35 PM
Seems so. And for android we can use proguard. right?
m
Michael Paus
02/20/2025, 8:45 PM
As far as I know Android uses R8.
c
Colton Idle
03/13/2025, 3:49 AM
yeah. r8 (afaik) is similar to proguard (uses the same rules definition) but is optimized for android.
there is also dexguard (the company behind proguard) as a paid product.