What is Nostr?
prs / Damus PRs
npub1ahc…7v97
2023-09-30 04:59:37

prs on Nostr: Scan QR code from static image (#1566) PR'd this again cause it was just easier than ...

Scan QR code from static image (#1566)

PR'd this again cause it was just easier than figuring out my git issues.

This PR allows users to open the link in a QR Code if it exists. Detects if there is a qr code and extracts that info, if it is an lnurl it'll append the lightning prefix so it can be opened by a lightning wallet. If it is a regular link it'll open a dialog to ask the user if they want to open the link, with the link displayed. If there is no link it show a dialog that says no qr code found.

See these notes for video examples:

https://damus.io/note1mpc6y8ft80wpavmedsy7h08s7n2l95flm0d3tlqd6hfdd27ta38s4rusrj

https://damus.io/note1dw9y7lc09f3694avg2z2a82kc68yh479vkkur336g78w9svh3tfsp0yy5g

scan-image-qr-2, 3 commits

https://github.com/damus-io/damus/pull/1566
Author Public Key
npub1ahckk8wkr64n2w5r4arsesf42upfhlmgy76vhxmlex7mvv4zhrnqry7v97