# Add app specific ProGuard rules here.
# You can control the set of applied configuration files using the
# consumerProguardFiles setting in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Crisp
-keep class im.crisp.** { * ; }

# Retrofit - R8 full mode missing rules...
# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items).
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# Gson - R8 full mode missing rules...
# Already exported by Retrofit
#-keepattributes Signature
-keep class com.google.gson.reflect.TypeToken { *; }
-keep class * extends com.google.gson.reflect.TypeToken

# Markwon missing rules...
-dontwarn com.caverock.androidsvg.SVG
-dontwarn com.caverock.androidsvg.SVGParseException
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn org.conscrypt.Conscrypt$Version
-dontwarn org.conscrypt.Conscrypt
-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE
# Crisp missing rules...
-dontwarn im.crisp.common.markdown.CrispMarkdown
#-dontwarn im.crisp.common.markdown.link.RippleLinkMovementMethod
#-dontwarn im.crisp.common.markdown.smiley.CrispSmiley
#-dontwarn im.crisp.common.ui.views.SpaceItemDecoration
#-dontwarn im.crisp.common.utils.ButtonUtils
#-dontwarn im.crisp.common.utils.ColorUtils
#-dontwarn im.crisp.common.utils.CrispAudioPlayer
#-dontwarn im.crisp.common.utils.CrispAudioPlayer$EventListener
#-dontwarn im.crisp.common.utils.EnvironmentUtils
#-dontwarn im.crisp.common.utils.FragmentUtils
#-dontwarn im.crisp.common.utils.ImageUtils
#-dontwarn im.crisp.common.utils.ImageUtils$Type
#-dontwarn im.crisp.common.utils.IntentUtils
#-dontwarn im.crisp.common.utils.KeyboardUtils
#-dontwarn im.crisp.common.utils.Permission
#-dontwarn im.crisp.common.utils.Permission$Listener
#-dontwarn im.crisp.common.utils.Permission$RationaleAction
#-dontwarn im.crisp.common.utils.SegmentUtils
#-dontwarn im.crisp.common.utils.TextViewUtils
#-dontwarn im.crisp.common.utils.ThreadUtils
#-dontwarn im.crisp.common.utils.glide.AbstractTarget
