FairEmail/app/proguard-rules.pro

59 lines
1.7 KiB
Prolog
Raw Normal View History

2018-08-02 13:33:06 +00:00
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
# If you after the line number information, uncomment this to
# hide the original source file name.
-renamesourcefileattribute SourceFile
#App
2018-09-19 07:58:21 +00:00
-keep class eu.faircode.email.** {*;}
-keepnames class eu.faircode.email.** {*;}
2018-08-02 13:33:06 +00:00
2018-08-17 04:37:01 +00:00
#AndroidX
2018-09-19 07:58:21 +00:00
-keep class androidx.appcompat.widget.** {*;}
-keep class androidx.appcompat.app.AppCompatViewInflater {<init>(...);}
2018-09-20 05:51:06 +00:00
-keepclassmembers class * implements android.os.Parcelable {static ** CREATOR;}
#android.os.BadParcelableException: Parcelable protocol requires a Parcelable.Creator object called CREATOR on class androidx...
2018-08-25 13:32:52 +00:00
#IAB
2018-09-19 07:58:21 +00:00
-keep class com.android.vending.billing.** {*;}
2018-08-25 13:32:52 +00:00
2018-08-02 13:33:06 +00:00
#JavaMail
2018-09-19 07:58:21 +00:00
#-dontshrink
2018-08-02 13:33:06 +00:00
-keep class javax.** {*;}
-keep class com.sun.** {*;}
-keep class myjava.** {*;}
-keep class org.apache.harmony.** {*;}
2018-09-19 07:58:21 +00:00
-keep class mailcap.** {*;}
-keep class mimetypes.** {*;}
2018-08-02 13:33:06 +00:00
-dontwarn java.awt.**
-dontwarn java.beans.Beans
-dontwarn javax.activation.**
-dontwarn javax.security.**
#jsoup
-keeppackagenames org.jsoup.nodes
#JCharset
2018-09-19 07:58:21 +00:00
-keep class net.freeutils.charset.** {*;}
2018-08-28 15:48:12 +00:00
2018-09-19 07:58:21 +00:00
#dnsjava
-keep class org.xbill.DNS.** {*;}
-dontwarn sun.net.spi.nameservice.**