Snacky
Snacky copied to clipboard
Proguard is weak
Hi,
I see in consumer-proguard-rules.pro these lines.:
-keep public class * { public protected *; }
if we include this library in a multi module project, Proguard keep ALL classes, even those are not in this library. (Indeed Android Studio Plugin append all Proguard files)
What is the right way to keep the public classes of this lib? should i instead use
-keep public class de.mateware.snacky.* {
public protected *;
}
What is the right way to keep the public classes of this lib? should i instead use
-keep public class de.mateware.snacky.* { public protected *; }
This seems much better, because it'll only affect the library code and not the entire project in which it is used. With the current configuration I can't correctly obfuscate a project in which I'm using Snacky. This fix would be very much appreciated.
Is the Proguard issue fixed in current version?
changed the consumer proguard file, hope everything is fine now ... looking for feedback