proguard-rules.pro 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. -verbose
  20. -optimizationpasses 14
  21. -allowaccessmodification
  22. -overloadaggressively
  23. -flattenpackagehierarchy
  24. -keeppackagenames doNotKeepAThing
  25. -ignorewarnings
  26. -obfuscationdictionary dictionary.txt
  27. -classobfuscationdictionary classdictionary.txt
  28. -include proguard-LoggingRemoval.pro
  29. # **********************************************************************************************************
  30. -keep class * { native <methods>; }
  31. -keep class androidx.core.app.** { public *; }
  32. -keep class com.google.android.** { *; }
  33. -keep class com.google.mlkit.** { *; }
  34. -keep interface com.google.android.** { *; }
  35. -keep class com.google.android.gms.** { *; }
  36. -keep class com.google.firebase.** { *; }
  37. # **********************************************************************************************************
  38. -keep class net.sqlcipher.** { *; }
  39. -keep public class * implements com.bumptech.esglide.module.GlideModule
  40. -keep public class * extends com.bumptech.esglide.module.AppGlideModule
  41. -keep public enum com.bumptech.glide.load.ImageHeaderParser$** { **[] $VALUES; public *; }
  42. -keep public class io.nexilis.service.** { *; }
  43. # **********************************************************************************************************
  44. -keep class net.zetetic.database.sqlcipher.** { *; }