proguard-rules.txt 1.03 KB
Newer Older
akwizgran's avatar
akwizgran committed
1 2
# Android defaults and rules from ../bramble-android/proguard-rules.txt are also applied

Ernir Erlingsson's avatar
Ernir Erlingsson committed
3
-dontobfuscate
4
-keepattributes SourceFile, LineNumberTable, *Annotation*, Signature, InnerClasses, EnclosingMethod
5

akwizgran's avatar
akwizgran committed
6
# QR codes
7
-keep class com.google.zxing.Result
Ernir Erlingsson's avatar
Ernir Erlingsson committed
8

9
# RSS libraries
akwizgran's avatar
akwizgran committed
10 11
-keep,includedescriptorclasses class com.rometools.rome.feed.synd.impl.** { *; }
-keep,includedescriptorclasses class com.rometools.rome.io.impl.** { *; }
12 13 14
-dontwarn javax.xml.stream.**
-dontwarn org.jaxen.**
-dontwarn java.nio.**
akwizgran's avatar
akwizgran committed
15
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
16
-dontwarn org.slf4j.impl.**
17

akwizgran's avatar
akwizgran committed
18 19 20 21 22 23 24 25 26 27 28
# OkHttp does some shenanigans with Android's SSL classes
-dontnote com.android.org.conscrypt.SSLParametersImpl
-dontnote org.apache.harmony.xnet.provider.jsse.SSLParametersImpl
-dontnote sun.security.ssl.SSLContextImpl

# HTML sanitiser
-keep class org.jsoup.safety.Whitelist

# KeyboardAwareLinearLayout uses reflection on android.View
-dontnote org.thoughtcrime.securesms.components.KeyboardAwareLinearLayout

29
# Emoji
30
-keep class com.vanniktech.emoji.**