fix(agents-mobile): set Android/iOS app icon to the Electric mark#4593
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Electric Agents Mobile BuildLocal mobile checks ran for commit The EAS Android preview build was skipped because the |
msfstef
approved these changes
Jun 16, 2026
msfstef
left a comment
Contributor
There was a problem hiding this comment.
needs a changeset I think
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
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.tsdeclared noiconand noandroid.adaptiveIcon, and the project shipped no icon assets. Sinceandroid//ios/are gitignored and regenerated byexpo prebuildon every EAS build, Expo fell back to its default placeholder icon — the green Android robot — baked intomipmap-*/ic_launcher. The installed launcher icon therefore didn't match the Electric logo on the Play Store listing.What changed
assets/icon.png— the canonical Electric store-icon artwork (1024×1024, same mark asagents-desktop/assets/icon.png).assets/adaptive-icon.png— Android adaptive foreground: cyan bolt (#75FBFD) centered within the safe zone, transparent background.app.config.ts— seticonandandroid.adaptiveIcon(foreground +backgroundColor: #101217).Verification
Ran
expo prebuild --platform androidagainst the new config:mipmap-anydpi-v26/ic_launcher.xml→ adaptive icon withbackground=#101217,foreground=ic_launcher_foreground✅ic_launcher.webprenders the dark square + cyan bolt, matching the store listing (green robot gone) ✅Follow-up to clear the rejection
After merge, cut a new EAS build (versionCode auto-increments via the CI
.build-info.jsonflow), upload the AAB, and resubmit for review.🤖 Generated with Claude Code