fix(client): use the Carol web icon for the Android app icon #305
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!305
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "303-android-app-icon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Android app shipped with the default Expo launcher icon because
app.jsonset noicon— so prebuild had nothing to generate Android mipmaps from. The web app/PWA, meanwhile, uses the blue Carol "C" (public/icon-512.png, declaredmaskableinmanifest.webmanifest).Fix
Wire the same icon into the native config in
app.json:expo.icon→./public/icon-512.png(single source of truth shared with the web bundle — no separate asset to drift).expo.android.adaptiveIcon.foregroundImage→ the same icon, withbackgroundColor: "#2f6bff"(the icon's own blue, matching the manifesttheme_color). The icon's transparent rounded corners then mask seamlessly under any launcher shape (circle/squircle/rounded-square).Verification
app.jsonvalid JSON;expo config --type publicresolvesiconandandroid.adaptiveIconcorrectly (no errors).Note: the source raster is 512×512 (Expo prefers 1024×1024). Adequate for Android launcher densities; a future option is rendering a 1024 PNG from
assets/carol-icon.svgif we want extra crispness, but that's a separate enhancement and would risk drifting from the web icon.Closes #303
🤖 Generated with Claude Code
📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.