Skip to content

refactor(qr): drop the scan-screen capture feature#355

Merged
BitHighlander merged 1 commit into
developfrom
chore/remove-wc-scan-screen
Jul 15, 2026
Merged

refactor(qr): drop the scan-screen capture feature#355
BitHighlander merged 1 commit into
developfrom
chore/remove-wc-scan-screen

Conversation

@BitHighlander

Copy link
Copy Markdown
Collaborator

What

Removes the native screen-capture QR path end to end:

  • captureScreens RPC (schema entry, bun handler, ScreenCaptureResult type)
  • src/bun/screen-capture.ts (CoreGraphics TCC preflight + screencapture shelling)
  • the "Scan my screen for a QR code" option in QrScannerOverlay

Camera scanning and image drop/upload are unchanged for the WalletConnect, Send, and Zcash flows.

Why

The macOS Screen Recording TCC flow proved too brittle to ship: the grant is keyed to the responsible process (Terminal/IDE in dev builds, the outer app bundle in prod), requires an app relaunch to take effect, and the resulting "permission granted but still failing" states read as broken scanning.

Verification

  • grep clean: no references to captureScreens / ScreenCaptureResult / screen-capture / scanScreen remain in src/
  • tsc differential vs develop base: identical error sets (626 = 626, all pre-existing)

Removes the native screen-capture QR path (captureScreens RPC,
src/bun/screen-capture.ts, and the scan-screen option in
QrScannerOverlay). The macOS Screen Recording TCC flow proved too
brittle to ship: the grant is keyed to the responsible process
(Terminal/IDE in dev, outer bundle in prod) and needs an app relaunch
to take effect. Camera and image drop/upload scanning are unchanged
for WalletConnect, Send, and Zcash flows.
@BitHighlander BitHighlander merged commit 41a070d into develop Jul 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant