/* The browser's barcode camera loop, shared by the full-screen scanner (components/MScan.tsx) and the * counter app's Scan tab (app/m/(app)/scan). Android's shell reads through MLKit instead * (lib/nativescan.ts); this is what a phone browser, or a shell without the plugin, uses. * * It opens the rear camera into the given