proguard-rules.pro 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. #-keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. -keep class com.bytedance.mtesttools.api.** {*;}
  20. -keep class com.bytedance.mtesttools.api.** {public *;}
  21. -ignorewarnings
  22. -dontoptimize
  23. -dontpreverify
  24. -dontwarn android.app.**
  25. -dontwarn android.support.**
  26. -dontwarn sun.misc.**
  27. -keepattributes Signature
  28. -keepattributes *Annotation*
  29. -dontwarn android.support.**
  30. -keep class sun.misc.**{*;}
  31. -keep class android.support.** { *; }
  32. -keep class android.app.**{*;}
  33. -keep class **.R$* {*;}
  34. # 倍孜混淆
  35. -dontwarn com.beizi.fusion.**
  36. -dontwarn com.beizi.ad.**
  37. -keep class com.beizi.fusion.** {*; }
  38. -keep class com.beizi.ad.** {*; }
  39. -keep class com.qq.e.** {
  40. public protected *;
  41. }
  42. -keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
  43. -dontwarn org.apache.**
  44. # 百度广告渠道混淆
  45. -dontwarn com.baidu.mobads.sdk.api.**
  46. -keepclassmembers class * extends android.app.Activity {
  47. public void *(android.view.View);
  48. }
  49. -keepclassmembers enum * {
  50. public static **[] values();
  51. public static ** valueOf(java.lang.String);
  52. }
  53. -keep class com.baidu.mobads.** { *; }
  54. -keep class com.style.widget.** {*;}
  55. -keep class com.component.** {*;}
  56. -keep class com.baidu.ad.magic.flute.** {*;}
  57. -keep class com.baidu.mobstat.forbes.** {*;}
  58. # 穿山甲广告渠道混淆
  59. -keep class com.bytedance.sdk.openadsdk.** { *; }
  60. -keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
  61. -keep class com.pgl.sys.ces.** {*;}
  62. -keep class com.bytedance.embed_dr.** {*;}
  63. -keep class com.bytedance.embedapplog.** {*;}
  64. # 移动安全联盟oaid混淆
  65. -keep class XI.CA.XI.**{*;}
  66. -keep class XI.K0.XI.**{*;}
  67. -keep class XI.XI.K0.**{*;}
  68. -keep class XI.xo.XI.XI.**{*;}
  69. -keep class com.asus.msa.SupplementaryDID.**{*;}
  70. -keep class com.asus.msa.sdid.**{*;}
  71. -keep class com.bun.lib.**{*;}
  72. -keep class com.bun.miitmdid.**{*;}
  73. -keep class com.huawei.hms.ads.identifier.**{*;}
  74. -keep class com.samsung.android.deviceidservice.**{*;}
  75. -keep class com.zui.opendeviceidlibrary.**{*;}
  76. -keep class org.json.**{*;}
  77. -keep public class com.netease.nis.sdkwrapper.Utils {public <methods>;}
  78. # 快手广告渠道混淆
  79. -keep class org.chromium.** {*;}
  80. -keep class org.chromium.** { *; }
  81. -keep class aegon.chrome.** { *; }
  82. -keep class com.kwai.**{ *; }
  83. -dontwarn com.kwai.**
  84. -dontwarn com.kwad.**
  85. -dontwarn com.ksad.**
  86. -dontwarn aegon.chrome.**
  87. # GroMore混淆
  88. -keep class bykvm*.**
  89. -keep class com.bytedance.msdk.adapter.**{ public *; }
  90. -keep class com.bytedance.msdk.api.** {
  91. public *;
  92. }
  93. -keep class com.bytedance.msdk.base.TTBaseAd{*;}
  94. -keep class com.bytedance.msdk.adapter.TTAbsAdLoaderAdapter{
  95. public *;
  96. protected <fields>;
  97. }
  98. # MTG混淆
  99. -keep class com.mbridge.** {*; }
  100. -keep interface com.mbridge.** {*; }
  101. -dontwarn com.mbridge.**
  102. -keep class **.R$* { public static final int mbridge*; }
  103. #广告组件混淆配置
  104. -keep class com.composition.android.** {*;}
  105. -keep interface com.composition.android.** {*;}