Skip to content

fix(agents-mobile): set Android/iOS app icon to the Electric mark#4593

Merged
kevin-dp merged 3 commits into
mainfrom
fix/agents-mobile-android-icon
Jun 16, 2026
Merged

fix(agents-mobile): set Android/iOS app icon to the Electric mark#4593
kevin-dp merged 3 commits into
mainfrom
fix/agents-mobile-android-icon

Conversation

@kevin-dp

Copy link
Copy Markdown
Contributor

Why

The Android app was rejected from the Google Play Store under the Misleading Claims policy: "App store listing mismatch — your app's installed icon or name differs from its store listing."

Root cause: packages/agents-mobile/app.config.ts declared no icon and no android.adaptiveIcon, and the project shipped no icon assets. Since android//ios/ are gitignored and regenerated by expo prebuild on every EAS build, Expo fell back to its default placeholder icon — the green Android robot — baked into mipmap-*/ic_launcher. The installed launcher icon therefore didn't match the Electric logo on the Play Store listing.

Icon
Store listing (hi-res) ✅ Electric mark (cyan bolt on dark)
Installed launcher (before) ❌ Default green Android robot

What changed

  • assets/icon.png — the canonical Electric store-icon artwork (1024×1024, same mark as agents-desktop/assets/icon.png).
  • assets/adaptive-icon.png — Android adaptive foreground: cyan bolt (#75FBFD) centered within the safe zone, transparent background.
  • app.config.ts — set icon and android.adaptiveIcon (foreground + backgroundColor: #101217).

Verification

Ran expo prebuild --platform android against the new config:

  • mipmap-anydpi-v26/ic_launcher.xml → adaptive icon with background=#101217, foreground=ic_launcher_foreground
  • Generated ic_launcher.webp renders the dark square + cyan bolt, matching the store listing (green robot gone) ✅
  • Confirmed the foreground isn't clipped under a worst-case circular launcher mask ✅

Follow-up to clear the rejection

After merge, cut a new EAS build (versionCode auto-increments via the CI .build-info.json flow), upload the AAB, and resubmit for review.

🤖 Generated with Claude Code

The app declared no `icon` or `android.adaptiveIcon` in app.config.ts and
shipped no icon assets, so `expo prebuild` fell back to Expo's default
placeholder — the green Android robot baked into mipmap-*/ic_launcher.
That installed launcher icon didn't match the Electric logo on the Play
Store listing, and Google rejected the app under the Misleading Claims
policy ("installed icon differs from its store listing").

Add the Electric mark as the app icon and a proper Android adaptive icon
(cyan bolt centered in the safe zone over the brand's #101217 dark
background). Verified via `expo prebuild --platform android`: the
generated ic_launcher now renders the Electric bolt and the adaptive
foreground stays within a worst-case circular mask.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.81%. Comparing base (992e2f3) to head (e4ae732).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4593       +/-   ##
===========================================
+ Coverage   57.16%   78.81%   +21.65%     
===========================================
  Files         340       11      -329     
  Lines       39535      491    -39044     
  Branches    11491      144    -11347     
===========================================
- Hits        22599      387    -22212     
+ Misses      16898       86    -16812     
+ Partials       38       18       -20     
Flag Coverage Δ
packages/agents ?
packages/agents-mobile 78.81% <ø> (ø)
packages/agents-runtime ?
packages/agents-server ?
packages/agents-server-ui ?
packages/electric-ax ?
typescript 78.81% <ø> (+21.65%) ⬆️
unit-tests 78.81% <ø> (+21.65%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Electric Agents Mobile Build

Local mobile checks ran for commit e4ae732.

The EAS Android preview build was skipped because the mobile-eas-build label is not present.
Add the mobile-eas-build label to this PR to produce an installable preview build.

Workflow run

@msfstef msfstef 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.

needs a changeset I think

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kevin-dp
kevin-dp merged commit ea3bfdb into main Jun 16, 2026
19 checks passed
@kevin-dp
kevin-dp deleted the fix/agents-mobile-android-icon branch June 16, 2026 13:25
@balegas balegas added shepherd and removed shepherd labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants