Files
flash-call-otp/caller-app/app/proguard-rules.pro
2026-05-23 16:17:20 +03:00

35 lines
1.1 KiB
Prolog

# Retrofit
-keepattributes Signature
-keepattributes *Annotation*
-keep class retrofit2.** { *; }
-keepclassmembers,allowshrinking,allowobfuscation interface * {
@retrofit2.http.* <methods>;
}
# Gson
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.google.gson.** { *; }
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
# Keep data classes for Gson serialization
-keep class com.intaleq.flashcall.PendingTask { *; }
-keep class com.intaleq.flashcall.CallDoneRequest { *; }
-keep class com.intaleq.flashcall.RegisterRequest { *; }
-keep class com.intaleq.flashcall.ApiResponse { *; }
# OkHttp
-dontwarn okhttp3.**
-dontwarn okio.**
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
# Kotlin Coroutines
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
-keepclassmembers class kotlinx.coroutines.** {
volatile <fields>;
}