Commit 310b9de6 authored by 赵鹏翔's avatar 赵鹏翔

混淆配置优化

parent 0aa183d5
......@@ -70,6 +70,9 @@
}
-keep class **.R$* {*;}
-keepclassmembers class * extends android.app.Activity{
public void *(android.view.View);
}
-keepclassmembers class * {
void *(*Event);
}
......@@ -93,6 +96,22 @@
java.lang.Object readResolve();
}
#避免webView混淆
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
-keepclassmembers class * extends android.webkit.webViewClient {
public void *(android.webkit.WebView, java.lang.String, android.graphics.Bitmap);
public boolean *(android.webkit.WebView, java.lang.String);
}
-keepclassmembers class * extends android.webkit.webViewClient {
public void *(android.webkit.webView, jav.lang.String);
}
-keep public class [包名.类名]$[内部类]{
public *;
}
-keepattributes JavascriptInterface
# OkHttp
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
......@@ -141,6 +160,12 @@
-keep class java.beans.** { *; }
#文件里面有xml 需要增加配置
-keep class org.xmlpull.** {*;}
-keep public class * extends org.xmlpull.**
-keep interface org.xmlpull.** {*;}
-keep class com.miya.** { *; }
-keep class com.miya.fastcashier.dao.** { *; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment