proguard-rules.pro 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in E:\AndroidSoft\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. -dontwarn com.tencent.bugly.**
  23. -keep public class com.tencent.bugly.**{*;}
  24. -dontshrink
  25. -keep class org.webrtc.** { *; }
  26. -keep class com.serenegiant.** { *; }
  27. -keepclasseswithmembernames class * { native <methods>; }
  28. -keep class okhttp3.** {*;}
  29. -keepclassmembers class okhttp3.** {
  30. *;
  31. }
  32. -keep class com.tencent.**{*;}
  33. -keepclassmembers class com.tenncent.mars.** {
  34. *;
  35. }
  36. #-keep class !cn.wildfire.chat.moment.**,!cn.wildfirechat.moment.**, **{ *; }
  37. -keep class cn.wildfirechat.moment.MomentClient {
  38. public void init(***);
  39. }
  40. -keep class cn.wildfire.chat.app.login.model.** {*;}
  41. -keepclassmembers class cn.wildfire.chat.app.login.model.** {
  42. *;
  43. }
  44. -keep class cn.wildfire.chat.kit.net.base.** {*;}
  45. -keepclassmembers class cn.wildfire.chat.kit.net.base.** {
  46. *;
  47. }
  48. -keep class cn.wildfire.chat.kit.voip.conference.model.** {*;}
  49. -keepclassmembers class cn.wildfire.chat.kit.voip.conference.model.** {
  50. *;
  51. }
  52. -keep class cn.wildfire.chat.kit.group.GroupAnnouncement {*;}
  53. -keepclassmembers class cn.wildfire.chat.kit.group.GroupAnnouncement {
  54. *;
  55. }
  56. -keep class cn.wildfirechat.model.** {*;}
  57. -keepclassmembers class cn.wildfirechat.model.** {
  58. *;
  59. }
  60. -keep class cn.wildfire.chat.kit.organization.model.** {*;}
  61. -keepclassmembers class cn.wildfire.chat.kit.organization.model.** {
  62. *;
  63. }
  64. -keepclassmembers class cn.wildfirechat.** {
  65. <init>(...);
  66. }
  67. -keepclassmembers class cn.wildfire.** {
  68. <init>(...);
  69. }
  70. -keepclassmembers class cn.wildfirechat.message.MessageContent {
  71. encode();
  72. }
  73. -keep class net.sourceforge.pinyin4j.** { *;}
  74. #huawei push
  75. -ignorewarnings
  76. -keepattributes *Annotation*
  77. -keepattributes Exceptions
  78. -keepattributes InnerClasses
  79. -keepattributes Signature
  80. -keepattributes SourceFile,LineNumberTable
  81. -keep class com.hianalytics.android.**{*;}
  82. -keep class com.huawei.updatesdk.**{*;}
  83. -keep class com.huawei.hms.**{*;}