-
Notifications
You must be signed in to change notification settings - Fork 19
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
Issue when use with Tauri app #90
Comments
Hey, thanks for the issue! that's a good and important one. Anyway, we have on open PR that actually fires an event: getAlby/nostr-wallet-connect#107 Currently it only fires a |
Yes, I can listen event with tauri webview: https://tauri.app/v1/guides/features/events/ |
@reyamir the change should be in NWC now. Could you try listening to the |
yo, that great, I'll check it when working on lume v3 |
@reyamir I'll close this for now, please re-open if you still have any issues. |
Hi, I'm from Lume (https://github.com/luminous-devs/lume)
I've added support NWC via Alby on Lume, but I've use a tricky way, because
window.open
is not work in Tauri. I've fixed it by using Taurinew Webview
https://tauri.app/v1/api/js/window/#webviewwindow to create a new webview window which open authorization urlbut it come up with other issue, I can't listen user event, so I don't know user is confirm authorized or not. In Lume, I temporary make it work by assume user alway click confirm button https://github.com/luminous-devs/lume/blob/main/src/app/nwc/components/alby.tsx
I wonder is there other way to make Alby work well with Tauri?
The text was updated successfully, but these errors were encountered: