1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-23 16:25:30 +00:00
FairEmail/app/proguard-rules.pro

82 lines
2.3 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...
2019-03-12 10:25:11 +00:00
-keepnames 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.** {*;}
2019-03-12 10:25:11 +00:00
-keepnames class com.android.vending.billing.** {*;}
2018-08-25 13:32:52 +00:00
2018-08-02 13:33:06 +00:00
#JavaMail
-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.** {*;}
2019-03-12 10:25:11 +00:00
-keepnames class com.sun.mail.** {*;}
2018-09-19 07:58:21 +00:00
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
2019-03-12 09:59:57 +00:00
-keepnames class org.jsoup.** {*;}
#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.** {*;}
2019-03-12 10:25:11 +00:00
-keepnames class org.xbill.DNS.** {*;}
2018-09-19 07:58:21 +00:00
-dontwarn sun.net.spi.nameservice.**
2018-10-31 18:28:26 +00:00
#OpenPGP
-keep class org.openintents.openpgp.** {*;}
2019-03-12 10:25:11 +00:00
-keepnames class org.openintents.openpgp.** {*;}
2019-05-18 12:53:49 +00:00
#biweekly
-keepnames class biweekly.** {*;}
-dontwarn biweekly.io.json.**
#Notes
-dontnote com.google.android.material.**
-dontnote com.sun.mail.**
-dontnote javax.activation.**
-dontnote org.xbill.DNS.**
-dontnote me.leolin.shortcutbadger.**
-dontnote com.github.chrisbanes.photoview.**
-dontnote com.bugsnag.android.**
-dontnote biweekly.io.**