fix(mobile): Android 앱 아이콘·스플래시 잘림 수정 - #83
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0. 링크
1. 요약
2. 앱 아이콘 (
0479c89)적응형 아이콘은 전경 이미지를 108dp 캔버스에 그린 뒤 가운데 72dp(66.7%)만 보여줍니다.
icon.png는 1024 캔버스에 고스트가 640px(62.5%)이라 iOS 에서는 여백이 넉넉하지만, Android 에서는 보이는 영역의 93.75% 를 차지해 여백이 3% 밖에 남지 않고 둥근 마스크에서 잘립니다.assets/android-icon-foreground.png— 투명 배경에 고스트만 남기고 캔버스의 45%(보이는 영역 기준 67%)가 되도록 여백을 넣었습니다. 기존 픽셀을 그대로 옮겨 담아 리샘플링 손실이 없습니다. 원래 이 파일은 Expo 템플릿 기본 이미지였고 아무 데서도 쓰이지 않았습니다app.json—adaptiveIcon.foregroundImage를icon.png→android-icon-foreground.png로 변경. 배경은 기존backgroundColor: #1F1F1F가 담당합니다3. 스플래시 (
657e73d)Android 12+ 는 스플래시 이미지를 원형으로 잘라 보여줍니다(캔버스의 66.7%만 노출). 태그라인까지 담긴 이미지는 가장자리가 필연적으로 잘려, Android 에서는 문구를 빼기로 했습니다.
assets/splash-android.png— 로고 + 워드마크만 담은 시안(600×600)에 여백을 더해 802×802 로 만들었습니다. 콘텐츠를 감싸는 원이 캔버스의 60% 라 마스크(66.7%) 안에 여유 있게 들어갑니다app.config.ts—expo-splash-screen에android블록을 추가해 Android 만 이 이미지를 쓰게 했습니다. iOS 는 태그라인 포함 시안(splash.png)을 그대로 유지합니다4. 확인
expo config평가 결과 반영 확인, lint 통과