-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Some barcodes (sent to us privately) on states IDs can't be scanned in the latest version (v2025.3.1) of Collect. This appears to be a regression as they can be scanned in v2025.2.0-beta.6. @seadowg can reproduce easily using his Pixel 6a.
Problem
It’s difficult to scan wide barcodes because the square viewfinder forces users to get very close to capture enough detail while also fitting the full barcode in frame. The square shape doesn’t always match the proportions of barcodes.
Hotfix solution
- Add landscape with full-screen viewfinder: Keep the current square viewfinder as-is to avoid disruption, and add a landscape mode with a full-screen viewfinder so it's easier to scan the entire barcode. A FAB lets the user switch between these modes without rotating.
- No flashlight button in landscape: We won't have the flashlight button on landscape. The user would need to turn that on in portrait mode.
- Rotate to go back to portrait mode: To get out of landscape mode, they can simply turn the device or press the rotate button.
- Inform the user they can rotate: To make the rotating option clear, we’ll add a prompt 10s after landing on the viewfinder in portrait mode (adding a label to the FAB expanding it to an "extended FAB"), nudging users that they can rotate the device.
- Keep orange border: We can still keep the orange state and bring the icon into the frame in landscape so it's clear when it isn't working.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
done