proguard-rules.pro 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. #-dontwarn com.umeng.**
  20. #-dontwarn com.taobao.**
  21. #-dontwarn anet.channel.**
  22. #-dontwarn anetwork.channel.**
  23. #-dontwarn org.android.**
  24. #-dontwarn org.apache.thrift.**
  25. #-dontwarn com.xiaomi.**
  26. #-dontwarn com.huawei.**
  27. #-dontwarn com.meizu.**
  28. #
  29. #-keepattributes *Annotation*
  30. #
  31. #-keep class com.taobao.** {*;}
  32. #-keep class org.android.** {*;}
  33. #-keep class anet.channel.** {*;}
  34. #-keep class com.umeng.** {*;}
  35. #-keep class com.xiaomi.** {*;}
  36. #-keep class com.huawei.** {*;}
  37. #-keep class com.meizu.** {*;}
  38. #-keep class org.apache.thrift.** {*;}
  39. #
  40. #-keep class com.alibaba.sdk.android.** {*;}
  41. #-keep class com.ut.** {*;}
  42. #-keep class com.uc.** {*;}
  43. #-keep class com.ta.** {*;}
  44. #
  45. #-keep public class **.R$* {
  46. # public static final int *;
  47. #}
  48. #-keep class org.android.agoo.xiaomi.MiPushBroadcastReceiver {*;}
  49. #-ignorewarnings
  50. #-keepattributes *Annotation*, Exceptions, InnerClasses, Signature, SourceFile, LineNumberTable
  51. #-keep class com.hianalytics.android.** {*;}
  52. #-keep class com.huawei.updatesdk.** {*;}
  53. #-keep class com.huawei.hms.** {*;}
  54. #-keep public class * extends android.app.Service
  55. #-dontwarn com.vivo.push.**
  56. #-keep class com.vivo.push.** {*;}
  57. #-keep class com.vivo.vms.** {*;}
  58. #-keep class com.hihonor.android.push.** {*;}
  59. #-keep class com.hihonor.push.** {*;}
  60. #-keep class org.android.agoo.honor.* {*;}