Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan QR code from static image #1566

Closed
wants to merge 1 commit into from

Conversation

ericholguin
Copy link
Collaborator

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

@jb55
Copy link
Collaborator

jb55 commented Sep 30, 2023 via email

@jb55
Copy link
Collaborator

jb55 commented Sep 30, 2023 via email

@jb55
Copy link
Collaborator

jb55 commented Sep 30, 2023 via email

@ericholguin
Copy link
Collaborator Author

you prefer guard or are if let statements okay?

@jb55
Copy link
Collaborator

jb55 commented Oct 1, 2023 via email

@ericholguin
Copy link
Collaborator Author

Comments addressed

@jb55
Copy link
Collaborator

jb55 commented Oct 5, 2023 via email

@jb55
Copy link
Collaborator

jb55 commented Oct 5, 2023 via email

@jb55
Copy link
Collaborator

jb55 commented Oct 8, 2023 via email

@jb55 jb55 closed this in 5d90b49 Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants