fusion44 / sendmany

SendMany is an app to remotely connect to your LND node and use it from your phone.
MIT License
28 stars 6 forks source link

Messages Recommendation #2

Closed curly60e closed 3 years ago

curly60e commented 4 years ago

There is possible to add notifications for messages without using Google Services, similar to Signal system.

fusion44 commented 4 years ago

I need to look at how Signal implements notifications. I'm just not sure yet when I'll be able to work on this.

fusion44 commented 4 years ago

Seems like Signal is actually using GCM when available. They've implemented a fallback to polling the server when the Google Play Services are not available. I have something similar in mind, but I think I'll implement this a little differently as I need to do this on iOS as well.

curly60e commented 4 years ago

Seems like Signal is actually using GCM when available. They've implemented a fallback to polling the server when the Google Play Services are not available. I have something similar in mind, but I think I'll implement this a little differently as I need to do this on iOS as well.

I'm glad you found out a solution haha!

fusion44 commented 3 years ago

I've implemented notifications the same way as Signal does. Actually works quite well. In best case I can poll every 15 minutes to get notifications. On iPhones this interval is longer.

Next step would be to introduce a permanent notification to be able to keep a constant connection to LND. Telegram has an option for this. This must be optional, as it consumes quite a bit of battery.