ZeusLN / zeus

A mobile Bitcoin wallet fit for the gods. ⚡️ Est. 563345
https://ZeusLN.com
Other
978 stars 145 forks source link

send via NFC does not work on iPhone #2352

Open AndySchroder opened 1 month ago

AndySchroder commented 1 month ago

Describe the bug

send via NFC does not work on iPhone, but does on android.

Reproduce

  1. Simulate NFC tag with custom hardware that sends a lightning invoice
  2. Tap NFC tag with iPhone
  3. NFC tag hardware detects the phone was tapped and removed
  4. iPhone silently does nothing.
  5. Tap android phone on the same tag and it opens up Zeus
  6. Simulate a link to http://AndySchroder.com with the custom hardware
  7. Tap iPhone in NFC tag
  8. iPhone asks if you want to open http://AndySchroder.com

ZEUS version

v0.8.5

Node interface

Embedded LND

Network

Clearnet

Device

iPhone 13

Device operating system

iOS 17.5

Log output

No response

AndySchroder commented 1 month ago

I should also note that in the summer time, since we don't have BOLT12 yet and lightning invoices are so long, it's really hard to scan lightning invoice QR codes on outdoor weatherized point of sale systems. Lots of glare from sunlight and it is also hard for a screen to even be bright enough to give good contrast. So, NFC is critical for practical use of lightning out in the wild.

AndySchroder commented 1 month ago

I tested with another iPhone today that had BlueWallet and Phoenix on it. Tapping with NFC would prompt to open BlueWallet. Scanning a QR code with the apple camera app would also prompt to open BlueWallet. I don't know how to change the default launcher app on iPhone for lightning: links, so BlueWallet was uninstalled. After uninstalling BlueWallet, if tapping with NFC, it would then prompt to open Phoenix. Also, scanning a QR code with the apple camera app would also prompt to open Phoenix.

So, I think there is some problem with Zeus and not a limitation of the apple operating system in handling lightning: links.

AndySchroder commented 1 month ago

Note: I am not using unified bitcoin: invoice links or LNURL.