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.
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