Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Remove extra ProGuard rules after OkHttp udpate

Zongle Wangb905d52efbae
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 9c7f3b935..5f4922bce 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -1,13 +1,3 @@
--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
-
# Fix for Retrofit issue https://github.com/square/retrofit/issues/3751
# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items).
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
@@ -16,4 +6,4 @@
# 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
\ No newline at end of file
+-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation