Open magnus-ISU opened 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)
There is proposed support from the CLI client as well: https://github.com/magic-wormhole/magic-wormhole/pull/555#issuecomment-2477056406
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.