Skip to content

chore: add app icon to iOS and Android demo apps#555

Merged
dcalhoun merged 3 commits into
trunkfrom
feat/demo-app-icon
Jul 20, 2026
Merged

chore: add app icon to iOS and Android demo apps#555
dcalhoun merged 3 commits into
trunkfrom
feat/demo-app-icon

Conversation

@dcalhoun

@dcalhoun dcalhoun commented Jul 18, 2026

Copy link
Copy Markdown
Member

What?

Adds a proper app icon to the iOS and Android demo apps, replacing the default placeholders (blank/generated on iOS, the Android Studio robot on Android). Both platforms now use the Gutenberg "G" glyph on a white background. The iOS home-screen label is also updated to "GutenbergKit" to match Android.

Why?

The demo apps shipped with placeholder icons, making them hard to distinguish on the home screen/launcher and inconsistent between platforms. A shared "G" mark gives them a recognizable, consistent identity.

How?

  • iOS: Added a 1024×1024 AppIcon.png (single-size universal format already configured in the asset catalog) rendered from the Gutenberg "G" vector on an opaque white background. Set INFOPLIST_KEY_CFBundleDisplayName to GutenbergKit in both Debug/Release configs so the home-screen name matches Android (the product/binary name stays Gutenberg).
  • Android: Replaced the adaptive icon — the foreground is a vector drawable of the "G", the background is solid white — and regenerated the legacy ic_launcher/ic_launcher_round WebP mipmaps for all densities (mdpi–xxxhdpi).
  • Visual centering: The "G" has a curved tail extending right, which pulls its geometric bounding-box center rightward. Both icons center the glyph on its visual mass (the bowl) instead, so it reads as centered. The Android glyph is additionally sized to leave padding comparable to neighboring launcher icons.

Testing Instructions

  1. Build and run the iOS demo app; confirm the "G" icon and "GutenbergKit" label appear on the home screen.
  2. Build and run the Android demo app; confirm the "G" launcher icon appears (adaptive shape adapts to the launcher mask) with padding comparable to other icons, and the label reads "GutenbergKit".

Screenshots or screencast

iOS Android
ios-icon android-icon

dcalhoun and others added 3 commits July 18, 2026 15:37
Use the Gutenberg "G" glyph as the iOS demo app icon, replacing the
default placeholder. The glyph is centered on its visual mass (the bowl)
rather than its geometric bounding box, so the curved tail extending
right does not make it appear off-center.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the default launcher icon with the Gutenberg "G" glyph across
the adaptive icon (vector foreground on a white background) and the
legacy density-specific mipmaps. The glyph is centered on its visual
mass and sized to leave padding comparable to neighboring launcher
icons.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Set CFBundleDisplayName so the iOS home-screen label matches Android's
"GutenbergKit" rather than the target name "Gutenberg".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the [Type] Enhancement A suggestion for improvement. label Jul 18, 2026
@dcalhoun dcalhoun changed the title feat: add app icon to ios and android demo apps feat: add app icon to iOS and Android demo apps Jul 18, 2026
@wpmobilebot

Copy link
Copy Markdown

XCFramework Build

This PR's XCFramework is available for testing. Add the following to your Package.swift:

.package(url: "https://github.com/wordpress-mobile/GutenbergKit", branch: "pr-build/555")

Built from 5a5af0a

@dcalhoun dcalhoun changed the title feat: add app icon to iOS and Android demo apps chore: add app icon to iOS and Android demo apps Jul 18, 2026
@dcalhoun dcalhoun added [Type] Task Issues or PRs that have been broken down into an individual action to take and removed [Type] Enhancement A suggestion for improvement. labels Jul 18, 2026
@dcalhoun
dcalhoun marked this pull request as ready for review July 18, 2026 19:55
@dcalhoun
dcalhoun requested a review from adalpari July 18, 2026 19:56

@adalpari adalpari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚢 it!!

@dcalhoun
dcalhoun merged commit b8ba0ef into trunk Jul 20, 2026
35 checks passed
@dcalhoun
dcalhoun deleted the feat/demo-app-icon branch July 20, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants