Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile

# [Kakao SDK 버그 방어]
# AccessTokenInterceptor에서 ClientErrorCause 상수를 리플렉션(getField)으로 찾기 때문에 난독화에서 제외함
-keep enum com.kakao.sdk.common.model.ClientErrorCause {
*;
}
# [Kakao SDK 프로가드 규칙]
# https://developers.kakao.com/docs/ko/android/getting-started#project-pro-guard
-keep class com.kakao.sdk.**.model.* { <fields>; }

# https://github.com/square/okhttp/pull/6792
-dontwarn org.bouncycastle.jsse.**
-dontwarn org.conscrypt.*
-dontwarn org.openjsse.**

# retrofit2 (with r8 full mode)
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface <1>
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# [Kotlinx Serialization]
# 모든 @Serializable 클래스의 직렬화 로직 및 serializer 메서드 유지
Expand Down
Loading