빌드 유형별 앱 이름 설정 및 앱 아이콘 추가#65
Conversation
새로운 브랜드에 맞춰 앱 아이콘 리소스를 전반적으로 업데이트했습니다. * 다양한 해상도(`mdpi`~`xxxhdpi`)의 `ic_launcher.webp` 및 `ic_launcher_round.webp` 리소스를 교체했습니다. * `mipmap-anydpi-v26`용 적응형 아이콘(`ic_launcher.xml`, `ic_launcher_round.xml`)을 추가했습니다. * 새로운 적응형 아이콘에 사용될 `ic_launcher_foreground.webp` 포그라운드 이미지를 추가했습니다. * 기존 `mipmap-anydpi` 폴더의 아이콘 정의 파일을 삭제했습니다. * Play Store 등록용 `ic_launcher-playstore.png` 파일을 추가했습니다. * `ic_launcher_background.xml`의 코드를 포맷팅했습니다.
`build.gradle.kts` 파일에 `debug`와 `release` 빌드 타입을 명시적으로 구성했습니다.
* **debug 빌드:**
* `isMinifyEnabled`를 `false`로 설정했습니다.
* 앱 이름을 "Prezel (Dev)"로 설정하는 리소스 값을 추가했습니다.
* `applicationIdSuffix`에 ".dev"를 추가했습니다.
* **release 빌드:**
* `isMinifyEnabled`를 `true`로 설정했습니다.
* ProGuard 규칙 파일을 적용했습니다.
둘러보기이 변경사항은 앱의 빌드 설정과 아이콘 리소스를 업데이트합니다. build.gradle.kts 파일에 디버그 및 릴리즈 빌드 타입 설정이 추가되었습니다. 디버그 버전은 코드 난독화를 비활성화하고 앱 이름에 "(Dev)"를 추가하며 applicationIdSuffix를 ".dev"로 설정합니다. 릴리즈 버전은 코드 난독화와 리소스 축소를 활성화합니다. 아이콘 XML 파일들이 개선되어 포그라운드 리소스 참조가 drawable에서 mipmap으로 변경되고, 단색 아이콘 정의가 제거되며, XML 포맷이 정렬됩니다. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
릴리즈 빌드에서 사용하지 않는 리소스를 제거하기 위해 `isShrinkResources` 속성을 `true`로 설정했습니다.
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
Prezel/app/build.gradle.kts (1)
11-11:isMinifyEnabled = false는 디버그 빌드의 기본값이므로 생략 가능합니다.AGP에서
debug빌드 타입의 기본isMinifyEnabled값은 이미false입니다. 의도를 명시적으로 드러내는 목적이라면 괜찮지만, 그렇지 않다면 제거해도 무방합니다.♻️ 정리 제안
debug { - isMinifyEnabled = false resValue("string", "app_name", "Prezel (Dev)") applicationIdSuffix = ".dev" }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@Prezel/app/build.gradle.kts` at line 11, The debug buildType explicitly sets isMinifyEnabled = false which is redundant because AGP defaults debug minification to false; remove the isMinifyEnabled = false line from the debug buildType block in Prezel/app/build.gradle.kts (or keep it only if you want explicit intent), locating the setting by searching for the buildType named "debug" and the isMinifyEnabled property.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@Prezel/app/build.gradle.kts`:
- Around line 16-23: The release build type in the build.gradle.kts diff is
missing a signing configuration, so add a signingConfigs block that creates a
"release" SigningConfig and then assign it to the release buildType via
signingConfig = signingConfigs.getByName("release"); populate the signing config
fields (storeFile, storePassword, keyAlias, keyPassword) from secure local
sources or environment variables (e.g., System.getenv) so the release buildType
(the release { ... } block) uses that signingConfig for producing signed
APK/AABs.
In `@Prezel/app/src/main/res/drawable/ic_launcher_background.xml`:
- Around line 8-9: The background vector drawable's <path> currently uses
fillColor "#3DDC84" which doesn't match the PR's blue circular background;
update the android:fillColor in ic_launcher_background.xml's <path> to the
correct brand blue hex used in the PR (replace "#3DDC84" with the blue value) so
the transparent ic_launcher_foreground.xml white robot sits on the intended blue
circle.
In `@Prezel/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml`:
- Around line 1-5: 현재 ic_launcher_round.xml의 <adaptive-icon>에서 <monochrome> 요소가
빠져 Android 13+ 테마(모노크롬) 아이콘 지원이 비활성화되어 있습니다; 복원하려면 ic_launcher_round.xml(및 동일하게
ic_launcher.xml)에 <adaptive-icon> 내부에 <monochrome
android:drawable="@drawable/ic_launcher_monochrome"/> 형태로 모노크롬 아이콘을 참조하는 노드를
추가하고, 모노크롬용 drawable(예: ic_launcher_monochrome)을 추가 또는 확인해 주세요; 또한
AndroidManifest.xml에서 icon과 roundIcon이 어댑티브 아이콘으로 모두 지정되어 있다면 두 어댑티브 아이콘 리소스 파일에
<monochrome> 노드가 모두 존재하는지 검증하십시오.
---
Duplicate comments:
In `@Prezel/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml`:
- Around line 1-5: The adaptive icon XML is missing the <monochrome> element
required for Android 13+ themed icons; update ic_launcher.xml (alongside the
existing <background> and <foreground>) to add a <monochrome
android:drawable="..."/> entry pointing to the monochrome drawable (use the same
resource referenced in ic_launcher_round.xml or create
`@drawable/ic_launcher_monochrome`), so the <adaptive-icon> includes <background>,
<foreground>, and <monochrome> for proper system theming support.
---
Nitpick comments:
In `@Prezel/app/build.gradle.kts`:
- Line 11: The debug buildType explicitly sets isMinifyEnabled = false which is
redundant because AGP defaults debug minification to false; remove the
isMinifyEnabled = false line from the debug buildType block in
Prezel/app/build.gradle.kts (or keep it only if you want explicit intent),
locating the setting by searching for the buildType named "debug" and the
isMinifyEnabled property.
📌 작업 내용
debug빌드에isMinifyEnabled = false적용release빌드에isMinifyEnabled = true적용release빌드에 Proguard 설정 추가getDefaultProguardFile("proguard-android-optimize.txt")proguard-rules.prodebug앱 이름을Prezel (Dev)로 분리debug에applicationIdSuffix = ".dev"적용🧩 관련 이슈
📸 스크린샷
📢 논의하고 싶은 내용
Summary by CodeRabbit
릴리스 노트