proguard-rules.pro 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. -keep public class * implements com.bumptech.glide.module.GlideModule
  20. -keep class * extends com.bumptech.glide.module.AppGlideModule {
  21. <init>(...);
  22. }
  23. -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  24. **[] $VALUES;
  25. public *;
  26. }
  27. -keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
  28. *** rewind();
  29. }
  30. # for DexGuard only
  31. -keep resourcexmlelements manifest/application/meta-data@value=GlideModule
  32. #融云SDK
  33. -keepattributes Exceptions,InnerClasses
  34. -keepattributes Signature
  35. #RongRTCLib
  36. -keep public class cn.rongcloud.** {*;}
  37. #RongIMLib
  38. -keep class io.rong.** {*;}
  39. -keep class cn.rongcloud.** {*;}
  40. -keep class * implements io.rong.imlib.model.MessageContent {*;}
  41. -dontwarn io.rong.push.**
  42. -dontnote com.xiaomi.**
  43. -dontnote com.google.android.gms.gcm.**
  44. -dontnote io.rong.**
  45. -ignorewarnings
  46. -dontwarn com.xiaomi.push.**
  47. -keep class com.xiaomi.push.** { *; }
  48. -ignorewarnings
  49. -keepattributes *Annotation*
  50. -keepattributes Exceptions
  51. -keepattributes InnerClasses
  52. -keepattributes Signature
  53. -keepattributes SourceFile,LineNumberTable
  54. -keep class com.hianalytics.android.**{*;}
  55. -keep class com.huawei.updatesdk.**{*;}
  56. -keep class com.huawei.hms.**{*;}
  57. -dontwarn com.vivo.push.**
  58. -keep class com.vivo.push.**{*; }
  59. -keep class com.vivo.vms.**{*; }
  60. -dontwarn com.coloros.mcsdk.**
  61. -keep class com.coloros.mcsdk.** { *; }
  62. -dontwarn com.heytap.**
  63. -keep class com.heytap.** { *; }
  64. -dontwarn com.mcs.**
  65. -keep class com.mcs.** { *; }