Update 55.md

Co-authored-by: dluvian <133484344+dluvian@users.noreply.github.com>
This commit is contained in:
greenart7c3 2024-08-31 07:37:02 -03:00 committed by greenart7c3
parent acd689a18f
commit 0b4924214f
No known key found for this signature in database
GPG Key ID: 885822EED3A26A6D

2
55.md
View File

@ -442,7 +442,7 @@ If the user chose to always reject the event, signer application will return the
# Usage for Web Applications # Usage for Web Applications
You should consider using [NIP-46: Nostr Connect](46.md), [Nostr login](https://github.com/nostrband/nostr-login) or (window.nostr.js)[https://github.com/fiatjaf/window.nostr.js] for a better experience for web applications. When using this approach the web app can't call the signer in background so the user will see a popup for every event you try to sign. You should consider using [NIP-46: Nostr Connect](46.md), [Nostr login](https://github.com/nostrband/nostr-login) or [window.nostr.js](https://github.com/fiatjaf/window.nostr.js) for a better experience for web applications. When using this approach, the web app can't call the signer in the background, so the user will see a popup for every event you try to sign.
Since web applications can't receive a result from the intent, you should add a modal to paste the signature or the event json or create a callback url. Since web applications can't receive a result from the intent, you should add a modal to paste the signature or the event json or create a callback url.