Last active
April 26, 2017 03:14
-
-
Save mchav/70b6c3f90055cf13785cc6ea749f1b3e to your computer and use it in GitHub Desktop.
Proguard rules for froid apps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* | |
-optimizationpasses 5 | |
-allowaccessmodification | |
-dontpreverify | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-verbose | |
-keepattributes *Annotation* | |
-keep public class com.google.vending.licensing.ILicensingService | |
-keep public class com.android.vending.licensing.ILicensingService | |
-keepclassmembers class ** { | |
public static *** onCreate(...); | |
} | |
-keepclasseswithmembernames class * { | |
native <methods>; | |
} | |
-keepclassmembers public class * extends android.view.View { | |
void set*(***); | |
*** get*(); | |
} | |
-keepclassmembers class * extends android.app.Activity { | |
public void *(android.view.View); | |
} | |
-keepclassmembers enum * { | |
public static **[] values(); | |
public static ** valueOf(java.lang.String); | |
} | |
-keepclassmembers class * implements android.os.Parcelable { | |
public static final android.os.Parcelable$Creator CREATOR; | |
} | |
-keepclassmembers class **.R$* { | |
public static <fields>; | |
} | |
-dontwarn android.support.** | |
-keep class android.support.annotation.Keep | |
-keep @android.support.annotation.Keep class * {*;} | |
-keepclasseswithmembers class * { | |
@android.support.annotation.Keep <methods>; | |
} | |
-keepclasseswithmembers class * { | |
@android.support.annotation.Keep <fields>; | |
} | |
-keepclasseswithmembers class * { | |
@android.support.annotation.Keep <init>(...); | |
} | |
-dontwarn frege.** | |
-dontwarn froid.** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment