GeezerVison is showing github.com — [codex] Fix mobile device builds and Android UI by bmdavis419 · Pull Request #3575 · pingdotgg/t3code
Conversation
bmdavis419
commented
Jun 26, 2026
•
edited by macroscopeapp
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What Changed
- add Android-compatible symbol rendering and a native Android home header/search experience
- make home content and safe-area handling work predictably across Android and wider mobile layouts
- add an opt-in iOS Personal Team build path that removes unsupported capabilities and supports self-contained Release installs
- validate Personal Team bundle IDs, keep custom IDs scoped to that mode, and disable unavailable notification/Live Activity controls
- align Expo mobile dependencies and document the local/EAS build workflows
Why
The existing mobile UI relies on iOS SF Symbols and iOS navigation-bar behavior, leaving Android controls and the home header incomplete. Local iOS builds also assume capabilities that Apple Personal Teams cannot sign. This change provides platform-specific fallbacks while keeping the default production capability set unchanged.
UI Changes
Android now gets a dedicated home header with search, filter/sort, settings, and new-task controls. Personal Team iOS builds show notification and Live Activity controls as unavailable because those builds intentionally omit the required capabilities.
Screenshots/video were not captured because this pass did not run a dev server or native build. UI behavior is covered here by source review, type checking, static analysis, tests, and release smoke CI.
Validation
pnpm install --frozen-lockfile
CI=1 pnpm --dir apps/mobile exec expo install --check
- resolved Expo config checks for default, valid Personal Team, and malformed bundle-ID inputs
vp check
vp run typecheck
vp run lint:mobile
vp test — 536 files passed, 2 skipped; 4,099 tests passed, 7 skipped
vp check passed with existing lint warnings. The mobile native lint task passed its static checks and reported that optional local SwiftLint, ktlint, and detekt binaries are not installed.
Checklist
- This PR is small and focused
- I explained what changed and why
- I included before/after screenshots for any UI changes
- I included a video for animation/interaction changes
Summary by CodeRabbit
-
New Features
- Added support for iOS development and release builds using a Personal Team account, with clearer setup guidance.
- Improved the home screen search experience with synced search input and better Android/iOS header behavior.
- Added broader icon support across platforms, including fallback handling on Android.
-
Bug Fixes
- Adjusted home screen layout and scrolling for more consistent spacing on mobile.
- Disabled unsupported notification and live activity options when Personal Team iOS builds are used.
Note
Fix mobile builds and Android UI for iOS Personal Team and cross-platform support
- Adds iOS Personal Team build support via
isIosPersonalTeamBuild flag in app.config.ts, using a custom bundle identifier and a new withoutIosPersonalTeamCapabilities plugin that strips push, Sign in with Apple, and app groups entitlements.
- Gates push-related features (notifications, live activities) at runtime via
supportsAgentAwarenessPush in capabilities.ts, ensuring relay registration payloads reflect unavailable capabilities on Personal Team builds.
- Adds an Android-specific
HomeHeader in HomeHeader.tsx with search, filter, and sort controls replacing the iOS-only header.
- Adds a cross-platform
SymbolView wrapper in AppSymbol.tsx that maps SF Symbol names to Tabler icons on Android, falling back to props.fallback or null for unmapped symbols.
- Behavioral Change: Android layout in
HomeScreen switches contentInsetAdjustmentBehavior to 'never' and applies manual padding to avoid automatic inset adjustments.
Macroscope summarized 3322fed.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jun 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

📝 Walkthrough
Walkthrough
The mobile app adds a personal-team iOS build path with bundle validation, conditional Expo plugin wiring, a release script, and updated build docs. It also introduces agent-awareness capability gating, a cross-platform symbol wrapper, platform-specific home header behavior, and updated home screen layout.
Changes
iOS personal-team build mode
| Layer / File(s) |
Summary |
Personal-team config path apps/mobile/app.config.ts, apps/mobile/plugins/withoutIosPersonalTeamCapabilities.cjs |
app.config.ts validates the personal-team bundle ID, derives the active iOS bundle identifier, applies it to iOS and Clerk settings, and conditionally includes widgets or an entitlement-removal plugin. |
Release script and supporting updates apps/mobile/package.json, apps/mobile/README.md |
package.json adds ios:release and updates Expo/UI versions, and the README documents Personal Team iOS build commands and required bundle identifier variables. |
Agent-awareness capability gating apps/mobile/src/app/settings/index.tsx, apps/mobile/src/features/agent-awareness/capabilities.ts, apps/mobile/src/features/agent-awareness/registrationPayload.ts, apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts |
The settings screen, capability helper, registration payload builder, and test all use the personal-team build flag to disable notification and live-activity support. |
Home screen and header UI
| Layer / File(s) |
Summary |
Cross-platform symbol rendering apps/mobile/src/components/AppSymbol.tsx, apps/mobile/src/components/ControlPill.tsx, apps/mobile/src/features/home/HomeScreen.tsx |
AppSymbol.tsx maps Android SF Symbols to Tabler icons and exports shared symbol types; consumers switch to the local wrapper. |
Platform-specific home header apps/mobile/src/features/home/HomeHeader.tsx, apps/mobile/src/app/index.tsx |
HomeHeader now accepts searchQuery, branches between Android and iOS implementations, and handles search and menu callbacks alongside the route state wiring. |
Home screen layout updates apps/mobile/src/features/home/HomeScreen.tsx |
The home screen ScrollView now uses platform-specific inset handling and centered constrained content styling. |
Estimated code review effort
🎯 4 (Complex) | ⏱️ ~45 minutes
Poem
A bunny hopped through code so bright,
with bundle IDs tucked up tight.
My carrot icons now bound in style,
and headers search with a rabbit smile.
Hoppity builds! 🐰
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
| Check name |
Status |
Explanation |
Resolution |
| Docstring Coverage |
⚠️ Warning |
Docstring coverage is 11.11% which is insufficient. The required threshold is 80.00%. |
Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (4 passed)
| Check name |
Status |
Explanation |
| Title check |
✅ Passed |
The title is concise and accurately summarizes the main mobile build and Android UI changes. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Description check |
✅ Passed |
The PR description follows the template closely and includes clear What Changed, Why, UI Changes, and Checklist sections. |
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
fix/mobile-device-builds-and-android-ui
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jun 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
✅ Action performed
Review finished.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Needs human review
This PR introduces new Android UI components and iOS Personal Team build support that changes push notification behavior. New platform features and configuration changes affecting runtime behavior warrant human review.
You can customize Macroscope's approvability policy. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jun 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
✅ Action performed
Review finished.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
apps/mobile/src/features/home/HomeHeader.tsx (1)
364-374: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Bind the iOS search bar to the current query state.
headerSearchBarOptions doesn’t expose a controlled text prop, so the iOS bar only reflects user input here. If searchQuery is cleared or prefills from route state, the native search text can stay stale unless it’s updated imperatively through the search bar ref.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@apps/mobile/src/features/home/HomeHeader.tsx` around lines 364 - 374, The iOS
search bar is currently only updated from user input, so its native text can
drift from the current searchQuery state when the query is cleared or prefilled.
Update the HomeHeader search bar setup to sync the native value imperatively
through the existing search bar ref whenever searchQuery changes, using the
headerSearchBarOptions configuration and the onChangeText/onCancelButtonPress
handlers as the hook points.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/mobile/app.config.ts`:
- Around line 13-19: The Personal Team bundle identifier guard in app.config.ts
only checks for presence, so invalid values can still reach ios.bundleIdentifier
and fail later. Update the validation around personalTeamBundleIdentifier and
isIosPersonalTeamBuild to also reject non–reverse-DNS values such as single
labels, double dots, or whitespace, and throw an actionable error before the
config is used. Keep the check close to the existing
T3CODE_IOS_PERSONAL_TEAM_BUNDLE_ID validation so the failure happens in the same
place.
---
Outside diff comments:
In `@apps/mobile/src/features/home/HomeHeader.tsx`:
- Around line 364-374: The iOS search bar is currently only updated from user
input, so its native text can drift from the current searchQuery state when the
query is cleared or prefilled. Update the HomeHeader search bar setup to sync
the native value imperatively through the existing search bar ref whenever
searchQuery changes, using the headerSearchBarOptions configuration and the
onChangeText/onCancelButtonPress handlers as the hook points.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 3625b076-e6e6-41bb-9d02-58a6e7383c12
📥 Commits
Reviewing files that changed from the base of the PR and between 24abab7 and e61d590.
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (10)
apps/mobile/README.md
apps/mobile/app.config.ts
apps/mobile/package.json
apps/mobile/plugins/withoutIosPersonalTeamCapabilities.cjs
apps/mobile/src/app/_layout.tsx
apps/mobile/src/app/index.tsx
apps/mobile/src/components/AppSymbol.tsx
apps/mobile/src/components/ControlPill.tsx
apps/mobile/src/features/home/HomeHeader.tsx
apps/mobile/src/features/home/HomeScreen.tsx
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jun 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
✅ Action performed
Review finished.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jun 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
✅ Action performed
Review finished.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Resolved pnpm-lock.yaml by re-running pnpm install against main's
lockfile so the branch's Expo SDK bumps re-resolve on top of main.
Co-Authored-By: Claude Fable 5 <[email protected]>
The branch predated main's #3545 bump and pinned 1.21.6; keep main's
version rather than silently downgrading it.
Co-Authored-By: Claude Fable 5 <[email protected]>
|
Reopening — this branch is now merged up to date with main and re-verified:
- Merged main (
3be7de066): only conflict was pnpm-lock.yaml, resolved by taking main's lockfile and re-running pnpm install so this branch's Expo SDK 56 bumps re-resolve on top of it. git diff main HEAD now contains only this branch's 15 intended files.
- Restored
react-native-keyboard-controller 1.21.7 (3322fedc5): the branch predated main's [codex] Upgrade Legend List chat scrolling #3545 bump and would have silently downgraded it to 1.21.6.
- Verified on device: fresh
prebuild --clean + Gradle release build of the production variant installed and running on a Pixel 10 Pro Fold — launches clean, no crashes in logcat, home screen renders correctly.
tsc --noEmit passes; agent-awareness tests pass (15/15).
A review pass of the merged state flagged a few follow-ups worth a look (none blockers):
HomeHeader.tsx iOS: the new useEffect syncing searchQuery into searchBarRef.setText fires on every keystroke and can jump the caret to the end when editing mid-query.
remoteRegistration.ts: nativePushTokenRegistration isn't gated on supportsAgentAwarenessPush() — a Personal Team build with previously-granted notification permission still calls getDevicePushTokenAsync() without the aps-environment entitlement.
thread-swipe-actions.tsx still uses expo-symbols directly, so swipe icons render nothing on Android (pre-existing pattern in ~25 files, but this one is on the reworked screen).
withoutIosPersonalTeamCapabilities.cjs relies on plugin ordering; the appleSignIn: !isIosPersonalTeamBuild gate in app.config.ts is load-bearing, not redundant — worth a comment so it isn't removed later.
🤖 Generated with Claude Code
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Closing in favor of #3643, which carries these fixes as a PR into #3579 (the branch that superseded this one).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XXL
1,000+ changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|