Skip to content

fix(camera): always offer 'Use device camera' - #53

Merged
slaveofcode merged 2 commits into
developfrom
fix/native-camera-always
Jul 31, 2026
Merged

fix(camera): always offer 'Use device camera'#53
slaveofcode merged 2 commits into
developfrom
fix/native-camera-always

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

The native device-camera option (<input capture>) was only shown in the error branch, so once the live camera worked reliably it vanished — it read as a missing feature.

Now the native input is always mounted and a Use device camera button appears in the live-view controls (opens the OS camera app on phones), in addition to the error fallback. The live stream is stopped when the native path is used.

481 tests pass, lint clean, build green.

slaveofcode and others added 2 commits July 31, 2026 10:52
Promote to production: camera switch + duplicate-button fixes
The native <input capture> option was only rendered inside the error branch, so
once the live camera worked it disappeared. Mount the native input always and add
a 'Use device camera' button to the live-view controls too (opens the OS camera
app on phones). Stop the live stream when the native path is used.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
goodwebtools 9b1168a Jul 31 2026, 04:14 AM

@slaveofcode
slaveofcode merged commit 89ed58a into develop Jul 31, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the fix/native-camera-always branch July 31, 2026 04:14
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