# keep javaScriptInterface
-keepattributes *Annotation*
-keepattributes InnerClasses

-keepclassmembers class **.R$* {
    public static <fields>;
}

# keep annotated by NotProguard
-keep class com.proguard.annotation.NotProguard

-keep @com.proguard.annotation.NotProguard class * {*;}

-keepclasseswithmembers class * {
    @com.proguard.annotation.NotProguard <methods>;
}

-keepclasseswithmembers class * {
    @com.proguard.annotation.NotProguard <fields>;
}

-keepclasseswithmembers class * {
    @com.proguard.annotation.NotProguard <init>(...);
}