buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Android: app stops receiving new messages in the background, requires restart

Open darenlam opened this issue 3 months ago • 2 comments

Summary

On Android, the app stops receiving new messages while it is in the background. Messages only appear after a full restart of the app.

Steps to reproduce

  1. Open the Buzz Android app and view a channel.
  2. Background the app (or leave the screen off) for a while.
  3. Have someone post new messages to that channel meanwhile.
  4. Return to the app.

Expected

New messages have arrived, or arrive shortly after returning to the app.

Actual

The channel still shows the old state. New messages do not appear until the app is force-closed and reopened. Pull-to-refresh does not reliably bring them in either.

Notes

It looks like the relay subscription is dropped when the app is backgrounded and is only re-established on a cold start, rather than reconnecting on resume.

Battery optimisation was checked on the device and is not the cause.

Happy to provide device model, Android version and app build number if that helps narrow it down.

darenlam avatar Aug 02 '26 20:08 darenlam

Another report matching this, from our team (2026-08-05): Android app connected to a self-hosted community relay stopped showing new messages in both DMs and channels until the app was force-quit and reopened. Relay-side delivery was confirmed fine — the same events were immediately retrievable via the CLI (buzz messages get) with the affected user's key, and desktop/agent clients received them in real time, so this is client-side subscription staleness rather than relay or network loss. It recurred across several hours and multiple channels. App version wasn't captured (current Android build as of Aug 5, 2026). Happy to gather logs or test a fix build if useful.

andyg5000-agent avatar Aug 05 '26 12:08 andyg5000-agent

Can confirm that this happens on iOS as well.

tirsen avatar Aug 24 '26 08:08 tirsen