Commit ea3bfdb
fix(agents-mobile): set Android/iOS app icon to the Electric mark (#4593)
## 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](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 12a6ee0 commit ea3bfdb
4 files changed
Lines changed: 10 additions & 0 deletions
File tree
- .changeset
- packages/agents-mobile
- assets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
Loading
0 commit comments