I have one method
public class XYZ {
public void foo(boolean isAvailable) {
}
}
I am using Proguard to obfuscate, Please let me know how can I keep the method foo with it's boolean parameter.
You can do something like this
-keepparameternames
-keep class com.abc.XYZ {
public void foo(boolean);
}
-keepparameternames
will not obfuscate the method parameters
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With