refactor(qr-scanner): improve QR code scanning with Web Workers and enhanced error handling

- Move QR code processing to Web Worker for better performance
- Add comprehensive camera state tracking and logging
- Implement proper app lifecycle management
- Add image size limits and optimization (max 1024px)
- Add proper cleanup of resources (worker, timeouts, listeners)
- Improve error handling with detailed error messages
- Add TypeScript interfaces for worker messages and QR code results
- Update Vite config to properly handle Capacitor builds
This commit is contained in:
Matthew Raymer
2025-04-15 09:19:29 +00:00
parent 243f6f7798
commit f5846cbe78
10 changed files with 641 additions and 216 deletions

Binary file not shown.