Files
Apothecary/web
josh c9094d39ec
Build and push image / build (push) Successful in 59s
Fix iOS camera: require tap gesture before requesting getUserMedia
iOS Safari blocks getUserMedia when called outside a user gesture
context. The useEffect auto-start broke the gesture chain, causing
permission denial without ever showing the prompt. Now on iOS the
scanner shows a "Tap to start camera" button that triggers the
permission request within the tap handler. Non-iOS browsers still
auto-start. Also added a "Try again" button on the error state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-06 10:29:29 -04:00
..