vilm3r / sendstr-web

Sendstr is an open source end-to-end encrypted shared clipboard app built on top of Nostr.
MIT License
118 stars 11 forks source link

Not able to send from computer to mobile #5

Closed shankargopal closed 1 year ago

shankargopal commented 1 year ago

Describe the bug Thanks so much for this intriguing application of Nostr!

I'm having trouble sending from laptop to mobile. On Firefox on my laptop, I am able to receive, but not able to send to Firefox on my mobile, as the "Copy pubkey" page simply stays forever on the mobile when attempting to receive.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://sendstr.com on Firefox on Android.
  2. Click on "Receive"
  3. Tap "Copy pubkey"
  4. Send pubkey to myself in some messaging app
  5. Cut and paste pubkey into sendstr.com on laptop after clicking "Send"
  6. Wait indefinitely on mobile for page to transition to text box. It does not transition, so no sending from laptop is possible.

Expected behavior A transition to a page with a text box so text can be received.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

vilm3r commented 1 year ago

I'm not able to reproduce. Is it possible that the copied pubkey has spaces? I'll add a trim to the input so it'll automatically remove erroneous characters.