robosats icon indicating copy to clipboard operation
robosats copied to clipboard

android app nostr link not using njump

Open umk0m1qk opened this issue 1 year ago • 2 comments

Your in-app nostr link should direct to njump rather than Snort so that users can find & follow your npub in their default nostr client. This is the proper share link:

https://njump.me/npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82

umk0m1qk avatar May 13 '24 03:05 umk0m1qk

Good one! Thank you @umk0m1qk

Reckless-Satoshi avatar May 13 '24 15:05 Reckless-Satoshi

I think additionally would be great to use the nostr: protocol if we are in mobile:

const nostrClick = (): void => {
    if (isMobile) {
      window.location.href = `nostr:${nostrPubKey}`
    } else {
      window.open(`https://njump.me/${nostrPubKey}`, '_blank', 'noopener,noreferrer')
    }
  }

KoalaSat avatar Jun 28 '24 09:06 KoalaSat