Can a normal web app make a call to a NIP-55 signer on Android?

Reply to this note

Please Login to reply.

Discussion

Yes, the only issue is that there's no way for web apps call the signer in background so the signer will open every time you need to sign/encrypt/decrypt

I wonder is there way for desktop app too? I'm pretty tired of nip46

What is the problem with NIP-46?

it not really nip46 fault, but nip46 involve the network, so sometimes it not reliable when my network is suck or some problem with relay. when all conditions are good, nip46 work best.

Run it locally while developing with nak serve and nak bunker.

Yes, but it isn't the best experience since basically every round-trip requires some sort of pop-up and callback. NIP-46 is the way to go, although I still find it annoying to have to cut and paste Bunker URLs between mobile and desktop.

To all client devs out there: please add two-way QR code support for remote signers! Please generate QR codes for nostrconnect URLs and let users read QR codes for bunker URLs. Very few clients do this right.

You mean when you click a QR code from a browser on the Android phone where Amber is running? Amber intercepts nostrconnect:// URLs out of the box. If the client developer had the insight to wrap the image tag with a link you're golden. Try it with noStrudel for example: https://nostrudel.ninja/#/signin/nostr-connect

If the developer didn’t think of this, first open a PR against the client to add it 🤣 then try Circle to Search. It’s not great (because... Google), but it works.

Jumble does not currently support nostrconnect://

Yes. Frankie web uses that since couple years on android and desktop.