webview与js交互混淆问题


-keepclassmembers class cn.xx.xx.Activity$AppAndroid {

public *;

}

-keepattributes *Annotation*

-keepattributes *JavascriptInterface*

例如:

-keepattributes*Annotation*

-keepattributes*JavascriptInterface*

-keepclassmembersclass com.imoblife.tus.activity.WebActivity$AndroidJsInterface {

public *;

}

你可能感兴趣的:(webview与js交互混淆问题)