logoalt Hacker News

nubinetworktoday at 2:04 PM3 repliesview on HN

> unreliable background operation on android

Pretty much every app I have has delayed notifications, and no matter of battery optimization settings can fix it.


Replies

forestotoday at 4:24 PM

Some time back, I had a similar problem: the LineageOS Messaging app was frequently late with SMS notifications when the phone was in idle state. Adding the package to Android's deviceidle whitelist fixed it right up. (This was done with the dumpsys shell command, since the setting for com.android.messaging was not exposed in the GUI.)

https://source.android.com/docs/core/power/app_mgmt#testing-...

I wonder if this setting could help Briar, and if so, whether an equivalent could be built in to their app packaging so users wouldn't have to fiddle with it.

show 1 reply
ValdikSStoday at 3:59 PM

Do you use VPN? This is a common misconfiguration of a server-side NAT related to too long or too short NAT timeouts combined with "act like a blackhole if we don't know anything about this connection".

show 1 reply
dist-epochtoday at 3:21 PM

It seems to me this only happens if you don't use the app much. Or maybe some apps are "allowlisted", I've never had delayed WhatsApp/Slack notifications.

show 4 replies