proguard-rules.pro 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in D:\work\software\SDK/tools/proguard/proguard-android.txt
  4. # You can edit the include path and order by changing the proguardFiles
  5. # directive in build.gradle.
  6. #
  7. # For more details, see
  8. # http://developer.android.com/guide/developing/tools/proguard.html
  9. # Add any project specific keep options here:
  10. # If your project uses WebView with JS, uncomment the following
  11. # and specify the fully qualified class name to the JavaScript interface
  12. # class:
  13. -keepclassmembers class fqcn.of.javascript.interface.for.webview {
  14. public *;
  15. }
  16. # Uncomment this to preserve the line number information for
  17. # debugging stack traces.
  18. #-keepattributes SourceFile,LineNumberTable
  19. # If you keep the line number information, uncomment this to
  20. # hide the original source file name.
  21. #-renamesourcefileattribute SourceFile
  22. -dontshrink
  23. -dontwarn com.google.android.maps.**
  24. -dontwarn android.webkit.WebView
  25. -dontwarn okhttp3.**
  26. -dontwarn okio.**
  27. -dontwarn javax.annotation.**
  28. # A resource is loaded with a relative path so the package of this class must be preserved.
  29. -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
  30. -keep class com.tencent.mm.opensdk.** { *;}
  31. -keep class com.tencent.wxop.** { *;}
  32. -keep class com.tencent.mm.sdk.** { *;}
  33. -keep class com.tencent.** { *;}
  34. -dontwarn com.tencent.bugly.**
  35. -keep public class com.tencent.**{*;}
  36. -keep class android.support.**{*;}
  37. #友盟
  38. -keep class com.umeng.** {*;}
  39. -keep public interface com.umeng.**
  40. -keep public interface com.tencent.**
  41. -keep public class com.umeng.* {*;}
  42. -keep class UMMoreHandler{*;}
  43. -keep class com.tencent.mm.sdk.modelmsg.WXMediaMessage {*;}
  44. -keep class com.tencent.mm.sdk.modelmsg.** implements com.tencent.mm.sdk.modelmsg.WXMediaMessage$IMediaObject {*;}
  45. -keep class com.tencent.mm.** {
  46. *;
  47. }
  48. -dontwarn twitter4j.**
  49. -keep class twitter4j.** { *; }
  50. -keep class com.tencent.** {*;}
  51. -dontwarn com.tencent.**
  52. -keep class com.kakao.** {*;}
  53. -dontwarn com.kakao.**
  54. -keep public class com.umeng.com.umeng.soexample.R$*{
  55. public static final int *;
  56. }
  57. -keep public class com.linkedin.android.mobilesdk.R$*{
  58. public static final int *;
  59. }
  60. -keepclassmembers enum * {
  61. public static **[] values();
  62. public static ** valueOf(java.lang.String);
  63. }
  64. -dontwarn dalvik.**
  65. -dontwarn com.tencent.smtt.**
  66. -keep class com.tencent.smtt.** {
  67. *;
  68. }
  69. -keep class com.tencent.tbs.** {
  70. *;
  71. }
  72. -keep class com.tencent.open.TDialog$*
  73. -keep class com.tencent.open.TDialog$* {*;}
  74. -keep class com.tencent.open.PKDialog
  75. -keep class com.tencent.open.PKDialog {*;}
  76. -keep class com.tencent.open.PKDialog$*
  77. -keep class com.tencent.open.PKDialog$* {*;}
  78. -keep class com.umeng.socialize.impl.ImageImpl {*;}
  79. -keep class com.sina.** {*;}
  80. -dontwarn com.sina.**
  81. -keep class com.alipay.share.sdk.** {
  82. *;
  83. }
  84. -keepnames class * implements android.os.Parcelable {
  85. public static final ** CREATOR;
  86. }
  87. -keep class com.linkedin.** { *; }
  88. -keep class com.android.dingtalk.share.ddsharemodule.** { *; }
  89. #指定代码的压缩级别
  90. -optimizationpasses 5
  91. #不去忽略非公共的库类
  92. -dontskipnonpubliclibraryclasses
  93. -dontskipnonpubliclibraryclassmembers
  94. # 是否使用大小写混合
  95. -dontusemixedcaseclassnames
  96. #预校验
  97. -dontpreverify
  98. #混淆时是否记录日志
  99. -verbose
  100. #忽略警告,避免打包时某些警告出现
  101. -ignorewarning
  102. # 混淆时所采用的算法
  103. -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
  104. #保护注解
  105. -keepattributes *Annotation*
  106. #记录生成的日志数据,gradle build时在本项目根目录输出
  107. #apk 包内所有 class 的内部结构
  108. -dump class_files.txt
  109. #未混淆的类和成员
  110. -printseeds seeds.txt
  111. #列出从 apk 中删除的代码
  112. -printusage unused.txt
  113. #混淆前后的映射
  114. -printmapping mapping.txt
  115. # 保持哪些类不被混淆
  116. -keep public class * extends android.app.Activity
  117. -keep public class * extends android.app.Fragment
  118. -keep public class * extends android.app.Application
  119. -keep public class * extends android.app.Service
  120. -keep public class * extends android.content.BroadcastReceiver
  121. -keep public class * extends android.content.ContentProvider
  122. -keep public class * extends android.app.backup.BackupAgentHelper
  123. -keep public class * extends android.preference.Preference
  124. -keep public class com.android.vending.licensing.ILicensingService
  125. -keep class * implements java.io.Serializable
  126. -keepattributes *Annotation*
  127. -keepclassmembers class ** {
  128. @org.greenrobot.eventbus.Subscribe <methods>;
  129. }
  130. -keep enum org.greenrobot.eventbus.ThreadMode { *; }
  131. # Only required if you use AsyncExecutor
  132. -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
  133. <init>(java.lang.Throwable);
  134. }
  135. #app
  136. #忽略bean类
  137. -keep class com.googlecode.protobuf.format.** { *; }
  138. -keep class com.kfzs.duanduan.bean.** { *; }
  139. -keep class com.kfzs.duanduan.proto.** { *; }
  140. -keep class com.sheep.gamegroup.model.** { *; }
  141. -keep class com.sheep.gamegroup.module.*.model.** { *; }
  142. -keep class com.sheep.jiuyan.samllsheep.bean.** { *; }
  143. -keep class com.sheep.gamegroup.greendao.** { *; }
  144. -keep class com.jcodecraeer.** { *; }
  145. -keep class com.sheep.jiuyan.samllsheep.service.DownloadService { *; }
  146. -keep class com.sheep.jiuyan.samllsheep.wxapi.WXEntryActivity.** { *; }
  147. #datashare
  148. -keep class com.kfzs.duanduan.data.graph.** { *; }
  149. -keep class com.kfzs.duanduan.datashare.** { *; }
  150. #ari
  151. #-keep class com.arialyy.** { *; }
  152. -dontwarn com.arialyy.aria.**
  153. -keep class com.arialyy.aria.**{*;}
  154. -keep class **$$DownloadListenerProxy{ *; }
  155. -keep class **$$UploadListenerProxy{ *; }
  156. -keep class **$$DownloadGroupListenerProxy{ *; }
  157. -keepclasseswithmembernames class * {
  158. @Download.* <methods>;
  159. @Upload.* <methods>;
  160. @DownloadGroup.* <methods>;
  161. }
  162. -keep class org.** { *; }
  163. -keep class sun.** { *; }
  164. -keep class net.** { *; }
  165. -keep class com.fasterxml.** { *; }
  166. -keep class javax.** { *; }
  167. -keep class rx.** { *; }
  168. # Retrofit 2.X
  169. ## https://square.github.io/retrofit/ ##
  170. -dontwarn retrofit2.**
  171. -keep class retrofit2.** { *; }
  172. -keepattributes Signature
  173. -keepattributes Exceptions
  174. -keepclasseswithmembers class * {
  175. @retrofit2.http.* <methods>;
  176. }
  177. # Retrofit 1.X
  178. -keep class com.squareup.okhttp.** { *; }
  179. -keep class retrofit.** { *; }
  180. -keep interface com.squareup.okhttp.** { *; }
  181. -dontwarn com.squareup.okhttp.**
  182. -dontwarn okio.**
  183. -dontwarn retrofit.**
  184. -dontwarn rx.**
  185. -keepclasseswithmembers class * {
  186. @retrofit.http.* <methods>;
  187. }
  188. # If in your rest service interface you use methods with Callback argument.
  189. -keepattributes Exceptions
  190. # If your rest service methods throw custom exceptions, because you've defined an ErrorHandler.
  191. -keepattributes Signature
  192. # Also you must note that if you are using GSON for conversion from JSON to POJO representation, you must ignore those POJO classes from being obfuscated.
  193. # Here include the POJO's that have you have created for mapping JSON response to POJO for example.
  194. ## Square Otto specific rules ##
  195. ## https://square.github.io/otto/ ##
  196. -keepattributes *Annotation*
  197. -keepclassmembers class ** {
  198. @com.squareup.otto.Subscribe public *;
  199. @com.squareup.otto.Produce public *;
  200. }
  201. ## Square Picasso specific rules ##
  202. ## https://square.github.io/picasso/ ##
  203. -dontwarn com.squareup.okhttp.**
  204. # OkHttp
  205. -keepattributes Signature
  206. -keepattributes *Annotation*
  207. -keep class okhttp3.** { *; }
  208. -keep interface okhttp3.** { *; }
  209. -dontwarn okhttp3.**
  210. # Dagger ProGuard rules.
  211. # https://github.com/square/dagger
  212. -dontwarn dagger.internal.codegen.**
  213. -keepclassmembers,allowobfuscation class * {
  214. @javax.inject.* *;
  215. @dagger.* *;
  216. <init>();
  217. }
  218. -keep class dagger.* { *; }
  219. -keep class javax.inject.* { *; }
  220. -keep class * extends dagger.internal.Binding
  221. -keep class * extends dagger.internal.ModuleAdapter
  222. -keep class * extends dagger.internal.StaticInjection
  223. # RxJava 0.21
  224. -keep class rx.schedulers.Schedulers {
  225. public static <methods>;
  226. }
  227. -keep class rx.schedulers.ImmediateScheduler {
  228. public <methods>;
  229. }
  230. -keep class rx.schedulers.TestScheduler {
  231. public <methods>;
  232. }
  233. -keep class rx.schedulers.Schedulers {
  234. public static ** test();
  235. }
  236. # Configuration for Guava 18.0
  237. #
  238. # disagrees with instructions provided by Guava project: https://code.google.com/p/guava-libraries/wiki/UsingProGuardWithGuava
  239. -keep class com.google.common.io.Resources {
  240. public static <methods>;
  241. }
  242. -keep class com.google.common.collect.Lists {
  243. public static ** reverse(**);
  244. }
  245. -keep class com.google.common.base.Charsets {
  246. public static <fields>;
  247. }
  248. -keep class com.google.common.base.Joiner {
  249. public static com.google.common.base.Joiner on(java.lang.String);
  250. public ** join(...);
  251. }
  252. -keep class com.google.common.collect.MapMakerInternalMap$ReferenceEntry
  253. -keep class com.google.common.cache.LocalCache$ReferenceEntry
  254. # http://stackoverflow.com/questions/9120338/proguard-configuration-for-guava-with-obfuscation-and-optimization
  255. -dontwarn javax.annotation.**
  256. -dontwarn javax.inject.**
  257. -dontwarn sun.misc.Unsafe
  258. # Guava 19.0
  259. -dontwarn java.lang.ClassValue
  260. -dontwarn com.google.j2objc.annotations.Weak
  261. -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
  262. ## GSON 2.2.4 specific rules ##
  263. # Gson uses generic type information stored in a class file when working with fields. Proguard
  264. # removes such information by default, so configure it to keep all of it.
  265. -keepattributes Signature
  266. # For using GSON @Expose annotation
  267. -keepattributes *Annotation*
  268. -keepattributes EnclosingMethod
  269. # Gson specific classes
  270. -keep class sun.misc.Unsafe { *; }
  271. -keep class com.google.gson.stream.** { *; }
  272. # GreenDao rules
  273. # Source: http://greendao-orm.com/documentation/technical-faq
  274. #
  275. -keepclassmembers class * extends de.greenrobot.dao.AbstractDao {
  276. public static java.lang.String TABLENAME;
  277. }
  278. -keep class **$Properties
  279. # Glide specific rules #
  280. # https://github.com/bumptech/glide
  281. -keep public class * implements com.bumptech.glide.module.GlideModule
  282. -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  283. **[] $VALUES;
  284. public *;
  285. }
  286. # Fresco v0.8.1 ProGuard rules.
  287. # https://github.com/facebook/fresco
  288. -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
  289. # Do not strip any method/class that is annotated with @DoNotStrip
  290. -keep @com.facebook.common.internal.DoNotStrip class *
  291. -keepclassmembers class * {
  292. @com.facebook.common.internal.DoNotStrip *;
  293. }
  294. # Keep native methods
  295. -keepclassmembers class * {
  296. native <methods>;
  297. }
  298. -dontwarn okio.**
  299. -dontwarn javax.annotation.**
  300. -dontwarn com.android.volley.toolbox.**
  301. ## New rules for EventBus 3.0.x ##
  302. # http://greenrobot.org/eventbus/documentation/proguard/
  303. -keepattributes *Annotation*
  304. -keepclassmembers class ** {
  305. @org.greenrobot.eventbus.Subscribe <methods>;
  306. }
  307. -keep enum org.greenrobot.eventbus.ThreadMode { *; }
  308. # Only required if you use AsyncExecutor
  309. -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
  310. <init>(java.lang.Throwable);
  311. }
  312. #Easy-Adapter v1.5.0
  313. -keepattributes *Annotation*
  314. -keepclassmembers class * extends uk.co.ribot.easyadapter.ItemViewHolder {
  315. public <init>(...);
  316. }
  317. # Crashlytics 2.+
  318. -keep class com.crashlytics.** { *; }
  319. -keep class com.crashlytics.android.**
  320. -keepattributes SourceFile, LineNumberTable, *Annotation*
  321. # If you are using custom exceptions, add this line so that custom exception types are skipped during obfuscation:
  322. -keep public class * extends java.lang.Exception
  323. # For Fabric to properly de-
  324. # ButterKnife 7
  325. -keep class butterknife.** { *; }
  326. -dontwarn butterknife.internal.**
  327. -keep class **$$ViewBinder { *; }
  328. -keepclasseswithmembernames class * {
  329. @butterknife.* <fields>;
  330. }
  331. -keepclasseswithmembernames class * {
  332. @butterknife.* <methods>;
  333. }
  334. # fastjson proguard rules
  335. # https://github.com/alibaba/fastjson
  336. -dontwarn com.alibaba.fastjson.**
  337. -keepattributes Signature
  338. -keepattributes *Annotation*
  339. ## ActionBarSherlock 4.4.0 specific rules ##
  340. -keep class android.support.v4.app.** { *; }
  341. -keep interface android.support.v4.app.** { *; }
  342. -keep class com.actionbarsherlock.** { *; }
  343. -keep interface com.actionbarsherlock.** { *; }
  344. -keepattributes *Annotation*
  345. ## hack for Actionbarsherlock 4.4.0, see https://github.com/JakeWharton/ActionBarSherlock/issues/1001 ##
  346. -dontwarn com.actionbarsherlock.internal.**
  347. ## SVG Android ##
  348. #https://github.com/pents90/svg-android
  349. -keep class com.larvalabs.svgandroid.** {*;}
  350. -keep class com.larvalabs.svgandroid.*$* {*;}
  351. -keep public class android.support.v7.widget.** { *; }
  352. -keep public class android.support.v7.internal.widget.** { *; }
  353. -keep public class android.support.v7.internal.view.menu.** { *; }
  354. -keep public class * extends android.support.v4.view.ActionProvider {
  355. public <init>(android.content.Context);
  356. }
  357. -dontwarn android.support.design.**
  358. -keep class android.support.design.** { *; }
  359. -keep interface android.support.design.** { *; }
  360. -keep public class android.support.design.R$* { *; }
  361. ##极光推送
  362. -dontoptimize
  363. -dontpreverify
  364. -dontwarn cn.jpush.**
  365. -keep class cn.jpush.** { *; }
  366. -keep class * extends cn.jpush.android.helpers.JPushMessageReceiver { *; }
  367. -dontwarn cn.jiguang.**
  368. -keep class cn.jiguang.** { *; }
  369. #2.0.5 ~ 2.1.7 版本有引入 gson 和 protobuf ,增加排除混淆的配置。(2.1.8版本不需配置)
  370. #==================gson && protobuf==========================
  371. -dontwarn com.google.**
  372. -keep class com.google.gson.** {*;}
  373. -keep class com.google.protobuf.** {*;}
  374. # banner 的混淆代码
  375. -keep class com.youth.banner.** {
  376. *;
  377. }
  378. #==================compile 'com.haibin:calendarview:3.4.4'==========================
  379. -keepclasseswithmembers class * {
  380. public <init>(android.content.Context);
  381. }
  382. #==================插件化框架 https://github.com/didi/VirtualAPK==========================
  383. -keep class com.didi.virtualapk.internal.VAInstrumentation { *; }
  384. -keep class com.didi.virtualapk.internal.PluginContentResolver { *; }
  385. -dontwarn com.didi.virtualapk.**
  386. -dontwarn android.**
  387. -keep class android.** { *; }
  388. #下面的库在host和media plugin中都有使用,混淆后在media中找不到类,暂时不混淆
  389. -keep class com.alibaba.fastjson.** { *; }
  390. -keep class com.chad.library.** { *; }
  391. -keep class com.bumptech.glide.** { *; }
  392. #==================webView 缓存优化初始化 https://github.com/yale8848/CacheWebView==========================
  393. #CacheWebview
  394. -dontwarn ren.yale.android.cachewebviewlib.**
  395. -keep class ren.yale.android.cachewebviewlib.**{*;}
  396. #okhttp
  397. -dontwarn okhttp3.**
  398. -keep class okhttp3.**{*;}
  399. #okio
  400. -dontwarn okio.**
  401. -keep class okio.**{*;}
  402. #==================GSYVideoPlayer https://github.com/CarGuo/GSYVideoPlayer==========================
  403. -keep class com.shuyu.gsyvideoplayer.video.** { *; }
  404. -dontwarn com.shuyu.gsyvideoplayer.video.**
  405. -keep class com.shuyu.gsyvideoplayer.video.base.** { *; }
  406. -dontwarn com.shuyu.gsyvideoplayer.video.base.**
  407. -keep class com.shuyu.gsyvideoplayer.utils.** { *; }
  408. -dontwarn com.shuyu.gsyvideoplayer.utils.**
  409. -keep class tv.danmaku.ijk.** { *; }
  410. -dontwarn tv.danmaku.ijk.**
  411. -keep public class * extends android.view.View{
  412. *** get*();
  413. void set*(***);
  414. public <init>(android.content.Context);
  415. public <init>(android.content.Context, android.util.AttributeSet);
  416. public <init>(android.content.Context, android.util.AttributeSet, int);
  417. }
  418. #==================https://github.com/koral--/android-gif-drawable==========================
  419. -keep public class pl.droidsonroids.gif.GifIOException{<init>(int, java.lang.String);}
  420. #==================鸿途信达广告sdk==========================
  421. -keep class com.hc.**{*;}
  422. -keep class com.hoc.**{*;}
  423. #==================现在支付保护区====================================
  424. -optimizationpasses 5
  425. -dontusemixedcaseclassnames
  426. -dontskipnonpubliclibraryclasses
  427. -dontskipnonpubliclibraryclassmembers
  428. -dontpreverify
  429. -verbose
  430. -printmapping proguardMapping.txt
  431. -optimizations !code/simplification/cast,!field/*,!class/merging/*
  432. -keepattributes *Annotation*,InnerClasses
  433. -keepattributes Signature
  434. -keepattributes SourceFile,LineNumberTable
  435. -ignorewarnings
  436. -keep class com.alipay.android.app.IAlixPay{*;}
  437. -keep class com.alipay.android.app.IAlixPay$Stub{*;}
  438. -keep class com.alipay.android.app.IRemoteServiceCallback{*;}
  439. -keep class com.alipay.android.app.IRemoteServiceCallback$Stub{*;}
  440. -keep class com.alipay.sdk.app.PayTask{ public *;}
  441. -keep class com.alipay.sdk.auth.AlipaySDK{ public *;}
  442. -keep class com.alipay.sdk.auth.APAuthInfo{ public *;}
  443. -keep class com.alipay.mobilesecuritysdk.*
  444. -keep class com.ut.*
  445. -keep class cn.gov.pbc.tsm.*{*;}
  446. -keep class com.UCMobile.PayPlugin.*{*;}
  447. -keep class com.unionpay.*{*;}
  448. -dontwarn com.unionpay.**
  449. -keep class com.ipaynow.plugin.api.IpaynowPlugin{
  450. <fields>;
  451. <methods>;
  452. }
  453. -keep class com.ipaynow.plugin.manager.route.dto.RequestParams{
  454. <fields>;
  455. <methods>;
  456. }
  457. -keep class com.ipaynow.plugin.manager.route.dto.ResponseParams{
  458. <fields>;
  459. <methods>;
  460. }
  461. -keep class com.ipaynow.plugin.manager.route.impl.ReceivePayResult{
  462. <fields>;
  463. <methods>;
  464. }
  465. -keep class com.alipay.android.app.IAlixPay {
  466. <fields>;
  467. <methods>;
  468. }
  469. -keep class com.ipaynow.plugin.utils.StringUtils{
  470. <fields>;
  471. <methods>;
  472. }
  473. -keep class com.alipay.android.app.IRemoteServiceCallback {
  474. <fields>;
  475. <methods>;
  476. }
  477. -keep class com.ipaynow.plugin.utils.NativeUtils{
  478. <fields>;
  479. <methods>;
  480. }
  481. #===============百度人脸识别======================
  482. -keep class com.baidu.idl.** { *; }
  483. -keep class com.baidu.aip.** { *; }
  484. #===============点客广告SDK======================
  485. -keep class btmsdkobf.** { *; }
  486. -keep class com.tmsdk.** { *; }
  487. -keep class tmsdk.** { *; }
  488. #===============游可盈广告SDK======================
  489. -keep class com.tencent.tgpa.**{*;}
  490. -keep class com.tencent.klevin.**{*;}
  491. -keep class com.tencent.protocol.sspservice.**{*;}
  492. #==================优投广告sdk==========================
  493. # jasmine -sdk
  494. -dontwarn com.jasmine.cantaloupe.**
  495. -keep class com.jasmine.cantaloupe.**{*;}
  496. -dontwarn z9.z9.z9.**
  497. -keep class z9.z9.z9.**{*;}
  498. # androidx
  499. -keep class com.google.android.material.** {*;}
  500. -keep class androidx.** {*;}
  501. -keep public class * extends androidx.**
  502. -keep interface androidx.** {*;}
  503. -dontwarn com.google.android.material.**
  504. -dontnote com.google.android.material.**
  505. -dontwarn androidx.**
  506. # android.support.v4
  507. -dontwarn android.support.v4.**
  508. -keep class android.support.v4.** { *; }
  509. -keep interface android.support.v4.** { *; }
  510. -keep public class * extends android.support.v4.**
  511. #==================msa移动联盟sdk 移动安全联盟 (http://www.msa-alliance.cn)==========================
  512. # 移动联盟oaid
  513. -dontwarn com.bun.**
  514. -keep class com.bun.** {*;}
  515. -keep class com.bun.miitmdid.core.** {*;}
  516. -keep class com.bun.** {*;}
  517. -keep class com.asus.msa.** {*;}
  518. -keep class com.netease.nis.sdkwrapper.** {*;}
  519. -keep class com.heytap.openid.** {*;}
  520. -keep class com.huawei.android.hms.pps.** {*;}
  521. -keep class com.meizu.flyme.openidsdk.** {*;}
  522. -keep class com.samsung.android.deviceidservice.** {*;}
  523. -keep class com.zui.** {*;}
  524. -keep class com.huawei.hms.ads.** {*; }
  525. -keep class XI.** {*;}
  526. -keep interface com.huawei.hms.ads.** {*; }
  527. -keepattributes *Annotation*
  528. -keep @android.support.annotation.Keep class **{
  529. @android.support.annotation.Keep <fields>;
  530. @android.support.annotation.Keep <methods>;
  531. }
  532. -keep class com.lygame.wrapper.provider.* { public *; }
  533. -keep class com.lygame.wrapper.sdk.LySdk { *; }
  534. -keep class com.lygame.wrapper.strategy.DefaultStrategy { *; }
  535. -keep class com.lygame.wrapper.strategy.SdkStrategy { *; }
  536. -keep class com.lygame.wrapper.ad.LySplashAdBuilder { *; }
  537. -keep class com.lygame.wrapper.util.LySdkEventUtil { *; }
  538. -keep class com.lygame.wrapper.util.Base64Util { *; }
  539. -keep class com.lygame.wrapper.interfaces.* { *; }
  540. -keep class com.innerscore.rtlog.RuntimeLogManager{ *; }
  541. -keep class com.ksdk.** {*; }
  542. #OAID混淆
  543. -keep class XI.CA.XI.**{*;}
  544. -keep class XI.K0.XI.**{*;}
  545. -keep class XI.XI.K0.**{*;}
  546. -keep class XI.vs.K0.**{*;}
  547. -keep class XI.xo.XI.XI.**{*;}
  548. -keep class com.asus.msa.SupplementaryDID.**{*;}
  549. -keep class com.asus.msa.sdid.**{*;}
  550. -keep class com.bun.lib.**{*;}
  551. -keep class com.bun.miitmdid.**{*;}
  552. -keep class com.huawei.hms.ads.identifier.**{*;}
  553. -keep class com.samsung.android.deviceidservice.**{*;}
  554. -keep class org.json.**{*;}
  555. -keep public class com.netease.nis.sdkwrapper.Utils {public
  556. <methods>;}
  557. -keep class com.zk.deviceidentifier.** { *; }