-
-
Notifications
You must be signed in to change notification settings - Fork 671
Open
Description
Like the title says, I'm having trouble running scans on iPad devices in landscape mode. In Landscape, scans only work if you move the scanning device, far away from the iPad. The qrCode has to be like 50 percent smaller than the scanWindow. I'm not sure what could be causing this. I've also added a video to showcase what I mean
` double scanAreaHeight = min(constraints.maxHeight * 0.5,
Responsive.isMobile(context) ? 350 : 400);
var scanWindowRect = Rect.fromCenter(
// center: MediaQuery.sizeOf(context).center(const Offset(0, -100)),
center: Offset(
constraints.maxWidth * 0.5,
constraints.maxHeight * 0.5,
),
// width: constraints.maxWidth * 0.8,
// height: constraints.maxHeight * 0.8,
width: scanAreaHeight * 1.2,
height: scanAreaHeight,
);`
WhatsApp.Video.2026-01-16.at.13.06.00.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels