Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 코드 난독화 설정으로 인한 제네릭 타입 소거 에러 해결 #637 #638

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

Junyoung-WON
Copy link
Contributor

@Junyoung-WON Junyoung-WON commented Feb 13, 2025

⭐️ Issue Number


🚩 Summary

코드 난독화 관련 에러 해결

  • 코드 난독화 설정으로, 제네릭 타입 Signature가 소거되어 제네릭 타입을 확인할 수 없는 런타임 에러 발생.

    • 에러 발생 시점: CallAdapter 반환에 필요한 리턴 타입을 타입 캐스팅 할 때(ApiResultCallAdapterFactory)
  • proguard-rules.pro에서 Signature를 소거 대상에서 제외시키는 규칙을 설정하여 문제 해결


🛠️ Technical Concerns


🙂 To Reviewer


📋 To Do

코드 난독화 설정으로, 제네릭 타입 Signature가 소거되어 제네릭 타입을 확인할 수 없는 런타임 에러 발생.
- 에러 발생 시점: CallAdapter 반환에 필요한 리턴 타입을 타입 캐스팅 할 때(ApiResultCallAdapterFactory)

proguard-rules.pro에서 Signature를 소거 대상에서 제외시키는 규칙 설정하여 문제 해결
@Junyoung-WON Junyoung-WON added android We are android>< ⚙️ build 빌드 관련 (빌드 스크립트 수정 등) 🥵 hotfix 버그 및 오류 긴급 수정 (모두 모두 붙어라) labels Feb 13, 2025
@Junyoung-WON Junyoung-WON added this to the sprint-9 milestone Feb 13, 2025
@Junyoung-WON Junyoung-WON changed the title fix: 코드 난독화 설정으로 인한 제네릭 타입 소거 에러 해결 fix: 코드 난독화 설정으로 인한 제네릭 타입 소거 에러 해결 #637 Feb 13, 2025
Copy link
Contributor

@hxeyexn hxeyexn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

같이 해결한 문제라서 바로 Approve 하겠습니다~

Copy link
Member

@s6m1n s6m1n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

허어억 이런 이슈가... 진짜 상상도 못한 정체 ㄴㅇㄱ

@Junyoung-WON Junyoung-WON merged commit 8bfcda2 into develop Feb 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android We are android>< ⚙️ build 빌드 관련 (빌드 스크립트 수정 등) 🥵 hotfix 버그 및 오류 긴급 수정 (모두 모두 붙어라)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants