-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: modify receive screen for wallets without ln address and set up #224
Conversation
@@ -77,92 +35,11 @@ export function Receive() { | |||
}); | |||
} | |||
|
|||
// TODO: move this somewhere else to have app-wide notifications of incoming payments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can address this to show a toast whenever we get a payment? because received payments via lightning address will not show any more - we are removing a feature here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we can make this provider which keeps pushing notifications via toast in-app (everywhere, not just receive), will add a commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this since notifications PR is now ready to merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@im-adithya isn't this something different? it's not related to push notifications is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking was, if someone wants to receive notifications, they would enable from settings. And if they already have push notifications it doesn't make sense to see two notifications (one in-app toast and one native notification) for the same payment.
Also for those who don't have push notifications, we would be showing them without being prompted if they want it or not. And react-native-toast-message
can't show multiple toasts at once, so it might interfere with other toasts. Best to remove this completely and keep it simple. Wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we would be showing them without being prompted if they want it or not
What do you mean by this?
Can we re-review this, I think at least on the page if you generate an invoice and are expecting a payment, you would do this and want to actively see a confirmation on Alby Hub (e.g. a PoS flow).
If you don't manually generate an invoice and only show the lightning address, this could be different.
I'm not sure about the toasts, but I think we should think this through properly before merging it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are proceeding with removing these for now as we think notifications can bridge this gap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened a follow up: #266 cc @reneaaron
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK, apart from the comments
Description
Fixes #255
Screenshots