minifyEnabled true 설정시 로그인 안되는 문제

저의 경우
implementation “com.kakao.sdk:v2-user:2.13.0” // 카카오 로그인
을 사용했고 난독화 설정시 앱이 죽었습다.
바로 위 댓글에서 proguard 설정 중 retrofit 관련 설정

#R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(…); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

을 적용하니 해결되었습니다.

3개의 좋아요