Skip to content

fix: PWA install prompt + camera error handling#9

Merged
BEKO2210 merged 1 commit intomainfrom
claude/restore-github-actions-workflow-oueZr
Mar 8, 2026
Merged

fix: PWA install prompt + camera error handling#9
BEKO2210 merged 1 commit intomainfrom
claude/restore-github-actions-workflow-oueZr

Conversation

@BEKO2210
Copy link
Copy Markdown
Owner

@BEKO2210 BEKO2210 commented Mar 8, 2026

  • Remove duplicate manifest link from index.html (was pointing to non-existent manifest.json, blocking beforeinstallprompt event)
  • vite-plugin-pwa now sole provider of manifest.webmanifest link
  • Remove fake screenshot placeholders with wrong dimensions from manifest
  • Rewrite ImageCaptureModal with robust error handling:
    • Specific error messages for each failure type (denied, not found, in use)
    • Retry button for camera errors
    • Fallback to any camera when facingMode constraint fails
    • Proper stream cleanup with mountedRef guard
    • HTTPS requirement detection

https://claude.ai/code/session_018567acDi8JQ3BHH8BxYX5b

- Remove duplicate manifest link from index.html (was pointing to
  non-existent manifest.json, blocking beforeinstallprompt event)
- vite-plugin-pwa now sole provider of manifest.webmanifest link
- Remove fake screenshot placeholders with wrong dimensions from manifest
- Rewrite ImageCaptureModal with robust error handling:
  - Specific error messages for each failure type (denied, not found, in use)
  - Retry button for camera errors
  - Fallback to any camera when facingMode constraint fails
  - Proper stream cleanup with mountedRef guard
  - HTTPS requirement detection

https://claude.ai/code/session_018567acDi8JQ3BHH8BxYX5b
@BEKO2210 BEKO2210 merged commit 921776c into main Mar 8, 2026
0 of 2 checks passed
@BEKO2210 BEKO2210 deleted the claude/restore-github-actions-workflow-oueZr branch March 8, 2026 16: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.

2 participants