From fbed32f95d4fda5ec12c48efd1b372d73a9f4bc9 Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 23 Jul 2026 21:00:28 +0100 Subject: [PATCH] feat(wallet): hand live scanning to the companion's native camera when present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The scan/upload chooser (already on main) keeps the first move; when the Android companion's window.ArchipelagoQr bridge exists, 'Scan with camera' opens the native CameraX modal instead of getUserMedia — which the companion's plain-http origin doesn't even have, so the button now shows there too. Decodes come back via window.__archyQrResult, status lines mirror out via setStatus, and stopScanning closes the native modal once a code is accepted. Co-Authored-By: Claude Fable 5 --- neode-ui/src/components/WalletScanModal.vue | 48 ++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/neode-ui/src/components/WalletScanModal.vue b/neode-ui/src/components/WalletScanModal.vue index 650588dc..01dc82a9 100644 --- a/neode-ui/src/components/WalletScanModal.vue +++ b/neode-ui/src/components/WalletScanModal.vue @@ -50,7 +50,9 @@

How do you want to read the QR?

-