feat(mobile): expose Android Live Update chips and settings - #11457
feat(mobile): expose Android Live Update chips and settings#11457SunkenInTime wants to merge 1 commit into
Conversation
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
@coderabbitai review |
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds a new Android 16 Live Update capability spanning relay payloads, native Android settings intents, notification rendering, and the mobile settings UI. Because it changes an existing notification path and introduces a cross-component system integration, the aggregate behavior merits human review. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (9)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe PR adds activity chip values to Android notification payloads, renders them in active notifications, and provides Android 16 live-update settings access through native code, JavaScript helpers, and the Settings screen. ChangesAndroid live updates
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Android live-update chip and settings flows are covered without a concrete unresolved merge risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 9.09% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 8 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Android agent activity needs a readable status-bar Live Update and a way to enable promotion when the OS has disabled it. Upstream already requests promotion; its chip has no status text.
Add short chip text:
Activefor running agents andReviewwhen approval or input is needed. Clear the text and promotion request when work completes, preserve dismissal behavior, and keep a nonempty title for promotion eligibility. Android 16 settings now expose the system Live Updates page, with an app-settings fallback for older native binaries and unsupported OEM intents.Rebased onto upstream/main
c542b781c6c4.Emulator evidence
Android 16 QPR2, API 36.1, Google APIs x86_64. Actual development APK, native renderer driven by deterministic FCM-shaped debug payloads. The before image uses the upstream renderer. Android reports
PROMOTED_ONGOINGfor active/review states and removes it on completion or when the user disables Live Updates.Verified visible dismissal suppresses same-run updates and a later run rearms the card. Disabling the system switch leaves the normal notification without a chip; re-enabling restores promotion.
App settings screenshot
Validation
bun fmt,bun lint,bun typecheckpass.bun run testsuites pass: 8 mobile settings/notification tests and 43 relay delivery tests.c41af1a88bd8.The emulator pass verifies native presentation/lifecycle and the Android settings intent, not real FCM transport or Samsung One UI. The React Native settings screen was loaded from the rebased worktree and tapping Live Update Settings opened Android's app notification controls. Server pairing was not performed because local automatic approval review blocked the pairing command.
Model: GPT-6
Harness: Codex
Summary by CodeRabbit
New Features
Documentation