Files
openchamber-android-native/pubspec.yaml
T
blumia 91bf5e5b81 fix: make the pairing QR scanner actually see dense codes
The scanner read frames at 480p, which is thin for the web UI's dense
pairing QR (1024px, low error correction, a two-module quiet zone), and it
rejected a Y plane whose last row has no padding even though some cameras
return exactly rowStride * (height - 1) + width bytes — on those devices
every frame was dropped, so nothing ever reacted.

Frames are now requested at 720p and fall back to 480p only when the device
refuses the higher analysis size; a stream that fails to start reports an
error instead of leaving a silent preview. Decoding runs with zxing's
tryHarder hint and retries an inverted frame for light-on-dark codes.

The screen also reports what it sees: resolution/format and a live
"frames scanned / decode attempts" line, a one-time log of the first frame's
planes, row stride and byte count, a no-frames hint after four seconds, and a
"move closer" hint when frames decode but no QR is found.

0.4.6 (406).
2026-11-23 12:26:16 +08:00

33 lines
593 B
YAML

name: openchamber
description: "A lightweight OpenChamber client for phones."
publish_to: 'none'
version: 0.4.6+406
environment:
sdk: ^3.14.0
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
shared_preferences: ^2.3.0
flutter_secure_storage: ^11.2.0
file_picker: ^13.0.0
gpt_markdown: ^1.4.0
socks5_proxy: ^2.1.2
xterm: ^4.0.0
flutter_slidable: ^5.2.0
archive: ^3.6.1
pointycastle: ^4.0.0
camera: ^0.12.2
zxing2: ^0.2.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
qr: ^4.0.1
flutter:
uses-material-design: true