LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] QR code integration

magnus-ISU opened this issue · comments

When sending a file, a QR code should appear . The package qr_flutter: ^4.0.0 can create this code easily.

When receiving a file, (on mobile platforms at least) the app should open the camera and search for qr codes. If a qr code is scanned, then it should use that as the code. I'm unsure how to implement this, it's possible the above package has that feature too.

This would make it much easier to send files to phones from anywhere.

commented

There is a URI scheme specified for the classic file-transfer protocol, which should be followed also for QR codes: https://github.com/magic-wormhole/magic-wormhole-protocols/blob/main/uri-scheme.md

(This would also allow Destiny to associate to the wormhole-transfer: scheme in case the QR code is scanned by e.g. a built-in scanner)