proguard-rules.pro 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. -keepclasseswithmembernames class * { native <methods>; }
  27. -keep class okhttp3.** {*;}
  28. -keepclassmembers class okhttp3.** {
  29. *;
  30. }
  31. -keep class com.tencent.**{*;}
  32. -keepclassmembers class com.tenncent.mars.** {
  33. *;
  34. }
  35. #-keep class !cn.wildfire.chat.moment.**,!cn.wildfirechat.moment.**, **{ *; }
  36. -keep class cn.wildfirechat.moment.MomentClient {
  37. public void init(***);
  38. }
  39. -keep class cn.wildfire.chat.kit.net.base.** {*;}
  40. -keepclassmembers class cn.wildfire.chat.kit.net.base.** {
  41. *;
  42. }
  43. -keep class cn.wildfire.chat.kit.group.GroupAnnouncement {*;}
  44. -keepclassmembers class cn.wildfire.chat.kit.group.GroupAnnouncement {
  45. *;
  46. }
  47. -keep class cn.wildfirechat.model.** {*;}
  48. -keepclassmembers class cn.wildfirechat.model.** {
  49. *;
  50. }
  51. -keep class cn.wildfire.chat.kit.organization.model.** {*;}
  52. -keepclassmembers class cn.wildfire.chat.kit.organization.model.** {
  53. *;
  54. }
  55. -keepclassmembers class cn.wildfirechat.** {
  56. <init>(...);
  57. }
  58. -keepclassmembers class cn.wildfire.** {
  59. <init>(...);
  60. }
  61. -keep class net.sourceforge.pinyin4j.** { *;}
  62. #huawei push
  63. -ignorewarnings
  64. -keepattributes *Annotation*
  65. -keepattributes Exceptions
  66. -keepattributes InnerClasses
  67. -keepattributes Signature
  68. -keepattributes SourceFile,LineNumberTable
  69. -keep class com.hianalytics.android.**{*;}
  70. -keep class com.huawei.updatesdk.**{*;}
  71. -keep class com.huawei.hms.**{*;}