proguard-rules.pro 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. -keepattributes Exceptions,InnerClasses
  20. -keepattributes Signature
  21. #RongRTCLib
  22. -keep public class cn.rongcloud.** {*;}
  23. #RongIMLib
  24. -keep class io.rong.** {*;}
  25. -keep class cn.rongcloud.** {*;}
  26. -keep class * implements io.rong.imlib.model.MessageContent {*;}
  27. -dontwarn io.rong.push.**
  28. -dontnote com.xiaomi.**
  29. -dontnote com.google.android.gms.gcm.**
  30. -dontnote io.rong.**
  31. -ignorewarnings
  32. -dontwarn com.xiaomi.push.**
  33. -keep class com.xiaomi.push.** { *; }
  34. -ignorewarnings
  35. -keepattributes *Annotation*
  36. -keepattributes Exceptions
  37. -keepattributes InnerClasses
  38. -keepattributes Signature
  39. -keepattributes SourceFile,LineNumberTable
  40. -keep class com.hianalytics.android.**{*;}
  41. -keep class com.huawei.updatesdk.**{*;}
  42. -keep class com.huawei.hms.**{*;}
  43. -dontwarn com.vivo.push.**
  44. -keep class com.vivo.push.**{*; }
  45. -keep class com.vivo.vms.**{*; }
  46. -dontwarn com.coloros.mcsdk.**
  47. -keep class com.coloros.mcsdk.** { *; }
  48. -dontwarn com.heytap.**
  49. -keep class com.heytap.** { *; }
  50. -dontwarn com.mcs.**
  51. -keep class com.mcs.** { *; }