Gym check-in in the browser/PWA too

The feature was gated behind MOBILE because scanning went through the native ML Kit
plugin. iPhone users only have the PWA, so: route, Home card and Settings switch on
every platform; photo import and a live camera sheet decode in the browser with
BarcodeDetector where it exists and jsQR (Apache-2.0, lazy chunk) otherwise. The app
build keeps ML Kit. Round-trip test lean-qr -> jsQR.
This commit is contained in:
Duarte Santos committed 2026-09-04 15:15:31 +02:00
1 parent 0af9f55528
commit aa487d29f4
30 files changed
+315 -47

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
"@capacitor/filesystem": "^7.1.8",
"@capacitor/local-notifications": "^7.0.7",
"@capacitor/share": "^7.0.4",
"jsqr": "^1.4.0",
"lean-qr": "^2.7.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",