proguard-rules.pro 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. -ignorewarnings
  20. -keep class * {
  21. public private *;
  22. }
  23. #glide proguard
  24. -keep public class * implements com.bumptech.glide.module.GlideModule
  25. -keep public class * extends com.bumptech.glide.module.AppGlideModule
  26. -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  27. **[] $VALUES;
  28. public *;
  29. }
  30. -assumenosideeffects class com.dar.nbook.utility.LogUtility {
  31. public static void d(...);
  32. public static void i(...);
  33. public static void e(...);
  34. }
  35. -keep public class * implements com.bumptech.glide.module.GlideModule
  36. -dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
  37. -keep class com.adjust.sdk.** { *; }
  38. -keep class com.google.android.gms.common.ConnectionResult {
  39. int SUCCESS;
  40. }
  41. -keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
  42. com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context);
  43. }
  44. -keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
  45. java.lang.String getId();
  46. boolean isLimitAdTrackingEnabled();
  47. }
  48. -keep public class com.android.installreferrer.** { *; }
  49. -keep public class com.adjust.sdk.** { *; }