javiersantos / PiracyChecker

An Android library that prevents your app from being pirated / cracked using Google Play Licensing (LVL), APK signature protection and more. API 14+ required.
Apache License 2.0
1.55k stars 174 forks source link

PiracyChecker's proguard-rules.pro preserves too much classes not obfuscated #107

Open h6ah4i opened 3 years ago

h6ah4i commented 3 years ago

This library provides built-in proguard rules like the following.

Is it really needed? I think this library is not using any reflections and it seems to be safe to remove all rules.

# Lib
-keep class com.github.javiersantos.**
-dontwarn com.github.javiersantos.**

# LVL
-keep class com.google.**
-keep class autovalue.shaded.com.google.**
-keep class com.android.vending.billing.**
-keep public class com.android.vending.licensing.ILicensingService

-dontwarn org.apache.**
-dontwarn com.google.**
-dontwarn autovalue.shaded.com.google.**
-dontwarn com.android.vending.billing.**