Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

feature: detect clipboard for lightning invoice #331

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Free-FreeThinker
Copy link

@Free-FreeThinker Free-FreeThinker commented Dec 31, 2019

Description

Auto detect clipboard for invoice when opening app, and ask the user if they'd like to send payment for the invoice if detected.

Motivation and Context

Address #329

How Has This Been Tested?

  1. Put app into the background.
  2. Copy a lightning invoice, and reopen the app, see the alert sheet successfully pops up.
  3. Tap "Send", and successfully paid the invoice.
  4. Copy some other random text, reopen the app, see no alert pops up.

Screenshots (if appropriate):

Screen Shot 2019-12-31 at 12 43 59 PM

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant