Skip to content

feat: add NFC tap to share claim link#220

Open
SharifIbrahimDev wants to merge 1 commit into
bridgelet-org:mainfrom
SharifIbrahimDev:feat/nfc-share
Open

feat: add NFC tap to share claim link#220
SharifIbrahimDev wants to merge 1 commit into
bridgelet-org:mainfrom
SharifIbrahimDev:feat/nfc-share

Conversation

@SharifIbrahimDev

Copy link
Copy Markdown

Closes #154

What does this PR do?

This PR integrates the Web NFC API into the payment success screen to enable seamlessly writing the claim URL directly to an NFC tag for in-person distributions.

Description

  • Web NFC Support Check: Safely detects whether the device supports the Web NFC API (NDEFReader) upon component mount. This prevents rendering the button on unsupported devices (e.g., iOS Safari or non-NFC Androids).
  • In-Person Tap-to-Share Flow: When supported, users are presented with a "Tap to NFC Tag" button. Clicking this initializes a write stream where users can simply tap a compatible NFC card/tag to the back of their device, provisioning it with the generated claim URL.
  • Robust Feedback: The component gracefully handles success states and common failure scenarios (e.g., NFC disabled, permission denied) with clear, timed UI status updates.

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@SharifIbrahimDev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Experiment: NFC tap to share claim link

1 participant