混淆配置参考
为避免接口混淆,您可以参考以下代码来保留类名:
-keepclassmembers class ** {
@com.squareup.otto.Subscribe public *;
@com.squareup.otto.Produce public *;
}
-keep public class com.alipay.mobile.security.zim.api.**{
public ;
public ;
}
-keep class com.alipay.mobile.security.zim.biz.ZIMFacadeBuilder {
!private ;
!private ;
}
-keep class com.alipay.android.phone.mobilecommon.logger.AlipayMonitorLogService {
!private ;
!private ;
}
-keep class com.alipay.android.phone.mobilecommon.rpc.AlipayRpcService {
!private ;
!private ;
}
-keep class com.alipay.android.phone.mobilecommon.apsecurity.AlipayApSecurityService {
!private ;
!private ;
}
-keep class com.alipay.zoloz.toyger.bean.ToygerMetaInfo {
!private ;
!private ;
}
-keep class com.alipay.zoloz.toyger.algorithm.** { *; }
-keep class com.alipay.zoloz.toyger.blob.** {
!private ;
!private ;
}
-keep class com.alipay.zoloz.toyger.face.** {
!private ;
!private ;
}
-keep class com.alipay.zoloz.hardware.camera.impl.** {
!private ;
!private ;
}
-keep public class com.alipay.mobile.security.zim.plugin.**{
public ;
public ;
}
-keep class * extends com.alipay.mobile.security.zim.gw.BaseGwService{
!private ;
!private ;
}
-keep class * extends com.alipay.mobile.security.bio.service.BioMetaInfo{
!private ;
!private ;
}
-keep class com.alipay.zoloz.toyger.workspace.FaceRemoteConfig{
*;
}
-keep public class com.alipay.zoloz.toyger.**{
*;
}
-keep public class com.alipay.mobile.security.zim.gw.**{
*;
}
-keep class com.alipay.deviceid.module.senative.DeviceIdUtil { *;}
-repackageclass com.alipay.deviceid.module.x
-keep class com.alipay.deviceid.module.rpc.deviceFp.** { *; }
-keep class com.alipay.deviceid.module.rpc.report.open.** { *; }
-keep class com.alipay.deviceid.DeviceTokenClient { *; }
-keep class com.alipay.deviceid.DeviceTokenClient$InitResultListener { *; }
-keep class com.alipay.deviceid.DeviceTokenClient$TokenResult {*;}
-keep class com.alipay.rds.v2.face.RDSClient { *; }
-keep class com.alipay.rds.constant.* { *; }