-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add support for local notifications #1045
Comments
Does that mean the local notifications look like native notifications? |
I believe so, they would just originate from the app itself and not from a remote server a la push notifications. PS: this package also exists https://pub.dev/packages/flutter_local_notifications |
If that's the case, they are too generic in my opinion to show that a payment was received. But maybe I feel differently when I've seen an example 🙂 |
🙃 this is literally the package in the link I've posted |
This is how you have it in bank apps, isn't it? |
Not in my bank app. But it's even worse there 🙈. You'll see a grey bar on the top that has a small white message that you can click. (If the app is open) |
🙈 |
We can put any content in it, though, so in what sense would it be too generic? |
IMHO it's too generic in the context of a received payment. E.g. Breez is showing confetti, Zeus is showing a lightning and I think phoenix shows a dialog which depicts whether the payment for the created invoice was received. |
I think with too generic @holzeis means it is not personalized for us, e.g. instead of a "boring" notification we could do a matrix animation which shows lots of 1s and 0s :D |
We could always expand on it inside the app itself, but it could be useful if the app is running in the background and the user receives the payment. The notification would then prompt them to re-open the app to see the fancy animations |
Can we please move the discussion how they will look into #180 ? |
We should support sending push notifications based on local events.
One obvious situation where it can be plugged in is receiving a payment via LN.
Some point to get it started:
It would be great if it would be done in a way that coexists with #1044
The text was updated successfully, but these errors were encountered: