LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client
MIT License
236 stars 13 forks source link

[Request] QR code integration #245

Open magnus-ISU opened 1 year ago

magnus-ISU commented 1 year ago

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.

meejah commented 1 year ago

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)