Java Question Using Proguard to obfuscate libraries?

keirS

Well-Known Member
Licensed User
Longtime User
I have been playing around with Proguard to obfuscate a library with some limited success. I have made list of rules that need to be kept. Can anyone confirm they are correct?

Package name:
Cannot be obfuscated
Class file names:
Can only be obfuscated if the class isn't directly referenced by B4A.
Class names:
Can only be obfuscated if the class isn't directly called by B4A.
Method names:
Can only be obfuscated if the method isn't directly called by B4A.

It would seem to me to get the best out of obfuscation I would essentially need to write a class that just handled the calls from b4A and then called methods in other classes that are not referenced by B4A?
 
Top