eclair-mobile icon indicating copy to clipboard operation
eclair-mobile copied to clipboard

[request] provide a android notification when network IO goes down.

Open brianddk opened this issue 5 years ago • 1 comments

When receiving payments, Eclair is usually able to keep its network ports open whether it is in the foreground, or in the background, so long as it isn't terminated. The exception to this is when Android power-management is enabled. Many power management events will throttle or halt network activity on background processes. This can cause some grief if your phone screen turns off while your waiting for someone to fill out the payment invoice. As a user, I've found disabling all android power management and avoiding low charge will mitigate this behavior.

A good additional configuration option would be a Acquire WAKE_LOCK while invoice is pending checkbox on the receive payment invoice creation page. This would keep the screen from forcing the in-focus app from going into background.

Another nice feature would be Android system tray notification and notification sound when Eclair detects that its network stack has gone offline. This would let the user know to wake their phone from standby, or to disable power management while trying to receive an invoice.

brianddk avatar Jun 18 '19 16:06 brianddk

Thanks for the suggestion, WDYT @dpad85?

pm47 avatar Jun 20 '19 12:06 pm47