Flocon/FloconDesktop/composeApp/proguard-rules.pro
Florent CHAMPIGNY 1c888461f2
fix: [IMAGE] not displayed on release (#18)
Co-authored-by: Florent Champigny <florent@bere.al>
2025-08-02 09:44:46 +02:00

35 lines
No EOL
877 B
Prolog

-dontwarn okhttp3.**
-dontwarn io.ktor.**
-dontwarn org.bouncycastle.**
-dontwarn org.conscrypt.**
-dontwarn org.openjsse.**
-dontwarn android.**
#OkHttp
-keepattributes Signature
-keepattributes Annotation
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
-dontwarn okhttp3.**
-dontwarn okio.**
# Ktor
-keep class io.ktor.** { *; }
-keepclassmembers class io.ktor.** { volatile <fields>; }
-keep class io.ktor.client.engine.cio.** { *; }
-keep class kotlinx.coroutines.** { *; }
-dontwarn kotlinx.atomicfu.**
-dontwarn io.netty.**
-dontwarn com.typesafe.**
-dontwarn org.slf4j.**
# Obfuscation breaks coroutines/ktor for some reason
-dontobfuscate
-keep class * extends coil3.util.DecoderServiceLoaderTarget { *; }
-keep class * extends coil3.util.FetcherServiceLoaderTarget { *; }
-if @kotlinx.serialization.Serializable class **
-keep class <1> {
*;
}