is there a uri scheme or something that apps should be using to "trigger" the device's signer? i think this is a great feature, but in reality a lot of people are just trying to use another nostr app on the same device so the qr scanner and even the keyboard option feel a bit clunky and not the best ux flow for such a scenario
Discussion
Yes, you can easily trigger the signer by using the standard nostrconnect:// uri scheme. That's what a "Login with Nostr" button should do.
We even added support for a convenient "callback" parameter, so Primal will redirect back to your app immediately after establishing the remote connection. If it's a browser app, simply use callback=https://[your_app_login_progress_page] to get redirected back to your app.
nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqy08wumn8ghj7mn0wd68yttjv4kxz7fwv3jhyettwfhhxuewd4jsqgplwuxkt5a8vj5utj6s8tsj8e3wcavc45p4mqmw92qs7wrh5azmys9f0hy6 implemented this flow for some of his web apps; it works great. Derek, maybe you could share a quick video of this in action?
cool, if you know of any web or ios apps that work this way id like to test 😬
ooook. as long as ios recognizes the qr it allows you to tap it to switch to primal. that is slick. thanks!
https://nostr.sudocarlos.com/ca3fbcf8e41ae53f3e9294df3c5bdb9b333344e112c6433136d3c61f8c720cff.mp4