From 3470eda083980c2bf3a7ac09db6d70545b880929 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 19 Sep 2018 07:58:21 +0000 Subject: [PATCH] Updated proguard config --- app/proguard-rules.pro | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index d460a676f2..25335bdcc2 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -21,21 +21,25 @@ -renamesourcefileattribute SourceFile #App --keep class eu.faircode.email.** --keepnames class eu.faircode.email.** { *; } +-keep class eu.faircode.email.** {*;} +-keepnames class eu.faircode.email.** {*;} #AndroidX --keep class androidx.appcompat.app.AppCompatViewInflater { (...); } +-keep class androidx.appcompat.widget.** {*;} +-keep class androidx.appcompat.app.AppCompatViewInflater {(...);} #IAB --keep class com.android.vending.billing.** +-keep class com.android.vending.billing.** {*;} #JavaMail --dontshrink +#-dontshrink -keep class javax.** {*;} -keep class com.sun.** {*;} -keep class myjava.** {*;} -keep class org.apache.harmony.** {*;} +-keep class mailcap.** {*;} +-keep class mimetypes.** {*;} + -dontwarn java.awt.** -dontwarn java.beans.Beans -dontwarn javax.activation.** @@ -45,7 +49,8 @@ -keeppackagenames org.jsoup.nodes #JCharset --keep class net.freeutils.charset.** +-keep class net.freeutils.charset.** {*;} -#OpenPGP --keep class org.openintents.openpgp.** +#dnsjava +-keep class org.xbill.DNS.** {*;} +-dontwarn sun.net.spi.nameservice.**