proguard-rules.pro 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. # 优化 不优化输入的类文件
  20. -dontoptimize
  21. # androidx
  22. -keep class com.google.android.material.** {*;}
  23. -keep class androidx.** {*;}
  24. -keep public class * extends androidx.**
  25. -keep interface androidx.** {*;}
  26. -dontwarn com.google.android.material.**
  27. -dontnote com.google.android.material.**
  28. -dontwarn androidx.**
  29. # android.support.v4
  30. -dontwarn android.support.v4.**
  31. -keep class android.support.v4.** { *; }
  32. -keep interface android.support.v4.** { *; }
  33. -keep public class * extends android.support.v4.**
  34. # WindAd
  35. -keep class sun.misc.Unsafe { *; }
  36. -keep class com.sigmob.**.**{*;}
  37. -keep interface com.sigmob.**.**{*;}
  38. -keep class com.czhj.**{*;}
  39. -keep interface com.czhj.**{*;}
  40. # miitmdid
  41. -dontwarn com.bun.**
  42. -keep class com.bun.** {*;}
  43. -keep class a.**{*;}
  44. -keep class XI.CA.XI.**{*;}
  45. -keep class XI.K0.XI.**{*;}
  46. -keep class XI.XI.K0.**{*;}
  47. -keep class XI.vs.K0.**{*;}
  48. -keep class XI.xo.XI.XI.**{*;}
  49. -keep class com.asus.msa.SupplementaryDID.**{*;}
  50. -keep class com.asus.msa.sdid.**{*;}
  51. -keep class com.huawei.hms.ads.identifier.**{*;}
  52. -keep class com.samsung.android.deviceidservice.**{*;}
  53. -keep class com.zui.opendeviceidlibrary.**{*;}
  54. -keep class org.json.**{*;}
  55. -keep public class com.netease.nis.sdkwrapper.Utils {public <methods>;}
  56. -keepclassmembers class * {
  57. *** getContext(...);
  58. *** getActivity(...);
  59. *** getResources(...);
  60. *** startActivity(...);
  61. *** startActivityForResult(...);
  62. *** registerReceiver(...);
  63. *** unregisterReceiver(...);
  64. *** query(...);
  65. *** getType(...);
  66. *** insert(...);
  67. *** delete(...);
  68. *** update(...);
  69. *** call(...);
  70. *** setResult(...);
  71. *** startService(...);
  72. *** stopService(...);
  73. *** bindService(...);
  74. *** unbindService(...);
  75. *** requestPermissions(...);
  76. *** getIdentifier(...);
  77. }
  78. -keep class com.bytedance.pangle.** {*;}
  79. -keep class com.bytedance.sdk.openadsdk.** { *; }
  80. -keep class ms.bd.c.Pgl.**{*;}
  81. -keep class com.bytedance.mobsec.metasec.ml.**{*;}
  82. -keep class com.bytedance.embedapplog.** {*;}
  83. -keep class com.bytedance.embed_dr.** {*;}
  84. -keep class com.bykv.vk.** {*;}
  85. -keep class com.lynx.** { *; }
  86. -keep class com.ss.android.**{*;}
  87. -keep class android.support.v4.app.FragmentActivity{}
  88. -keep class androidx.fragment.app.FragmentActivity{}
  89. -keep class com.qq.e.** {
  90. public protected *;
  91. }
  92. -keep class android.support.v4.**{
  93. public *;
  94. }
  95. -keep class android.support.v7.**{
  96. public *;
  97. }
  98. -keep class MTT.ThirdAppInfoNew {
  99. *;
  100. }
  101. -keep class com.tencent.** {
  102. *;
  103. }
  104. -dontwarn dalvik.**
  105. -dontwarn com.tencent.smtt.**
  106. -dontwarn com.bun.**
  107. -keep class com.bun.**{ *;}
  108. -keep public class com.anythink.**
  109. -keepclassmembers class com.anythink.** {
  110. *;
  111. }
  112. -keep public class com.anythink.network.**
  113. -keepclassmembers class com.anythink.network.** {
  114. public *;
  115. }
  116. -dontwarn com.anythink.hb.**
  117. -keep class com.anythink.hb.**{ *;}
  118. -dontwarn com.anythink.china.api.**
  119. -keep class com.anythink.china.api.**{ *;}
  120. # new in v5.6.6
  121. -keep class com.anythink.myoffer.ui.**{ *;}
  122. -keepclassmembers public class com.anythink.myoffer.ui.** {
  123. public *;
  124. }
  125. -keep class com.alibaba.idst.nui.*{*;}
  126. -keep class me.pqpo.smartcropperlib.**{*;}