Ver código fonte

Fix most crashes with extensions and the release version. Crop borders support in android O

len 7 anos atrás
pai
commit
8201b367ec
2 arquivos alterados com 5 adições e 0 exclusões
  1. 1 0
      app/build.gradle
  2. 4 0
      app/proguard-rules.pro

+ 1 - 0
app/build.gradle

@@ -98,6 +98,7 @@ dependencies {
 
     // Modified dependencies
     compile 'com.github.inorichi:subsampling-scale-image-view:01e5385'
+    compile 'com.github.inorichi:tachimage:68cd311'
     compile 'com.github.inorichi:junrar-android:634c1f5'
 
     // Android support library

+ 4 - 0
app/proguard-rules.pro

@@ -7,6 +7,10 @@
 -keep class com.hippo.image.** { *; }
 -keep interface com.hippo.image.** { *; }
 
+# Extensions may require methods unused in the core app
+-keep class org.jsoup.** { *; }
+-keep class kotlin.** { *; }
+
 # OkHttp
 -dontwarn okhttp3.**
 -dontwarn okio.**