Files
openchamber-android-native/pubspec.yaml
T
blumia 8f6fd99103 feat: scan the pairing QR code with the camera
The pairing dialog gained a "扫码" button: a full-screen scanner points the
back camera at the QR that OpenChamber's connect-a-device dialog shows, and a
decoded pairing link connects straight away.

Frames are decoded with zxing2 (pure Dart, no ML Kit or Play services): the
YUV420 Y plane is already luminance, BGRA frames are converted green-weighted,
and each frame is decoded in a background isolate so camera frames never block
the UI. Only an openchamber://connect payload ends the scan; any other QR code
shows a short hint and scanning continues. A torch button, a denied-permission
message with retry, and camera-less devices are handled.

The recorder audio permission the camera plugin declares for video is removed
from the merged manifest: the scanner reads frames only.

0.4.5 (405).
2026-11-22 17:52:47 +08:00

33 lines
593 B
YAML

name: openchamber
description: "A lightweight OpenChamber client for phones."
publish_to: 'none'
version: 0.4.5+405
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