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

Add protocol handlers for PWA #547

Open
benthecarman opened this issue Sep 20, 2023 · 2 comments · May be fixed by #896
Open

Add protocol handlers for PWA #547

benthecarman opened this issue Sep 20, 2023 · 2 comments · May be fixed by #896
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@benthecarman
Copy link
Collaborator

Looks like we can have it so when we scan a QR outside the app, mutiny will be an option.

Should hook this up for lightning, bitcoin, and lnurlp

https://developer.mozilla.org/en-US/docs/Web/Manifest/protocol_handlers

@benthecarman benthecarman added the enhancement New feature or request label Sep 20, 2023
@benthecarman
Copy link
Collaborator Author

I think to do this we need to be able to do something like /send?param=somestring so we can load it that way

@benthecarman benthecarman added the good first issue Good for newcomers label Sep 20, 2023
@TonyGiorgio
Copy link
Collaborator

This would only be useful for chrome on android from what it looks like.

alpeb-btc pushed a commit to alpeb-btc/mutiny-web that referenced this issue Feb 21, 2024
Closes MutinyWallet#547

In my testing I could only make the `bitcoin` handler work. This is likely due to the ["safelisted schemes"](https://html.spec.whatwg.org/multipage/system-state.html#safelisted-scheme).
The `send?invoice=%s` url was already being handled by the `parsePaste` function but the invoice data wasn't getting picked up, so I had to add the `handleDestination` call in there.
alpeb-btc added a commit to alpeb-btc/mutiny-web that referenced this issue Feb 21, 2024
Closes MutinyWallet#547

In my testing I could only make the `bitcoin` handler work. This is likely due to the ["safelisted schemes"](https://html.spec.whatwg.org/multipage/system-state.html#safelisted-scheme).
The `send?invoice=%s` url was already being handled by the `parsePaste` function but the invoice data wasn't getting picked up, so I had to add the `handleDestination` call in there.
@alpeb-btc alpeb-btc linked a pull request Feb 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants