# Retrofit -keepattributes Signature -keepattributes *Annotation* -keep class retrofit2.** { *; } -keepclassmembers,allowshrinking,allowobfuscation interface * { @retrofit2.http.* ; } # 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 ; }