Skip to content

Android: messages fail silently after app is backgrounded, require force-kill + retry #706

@dergigi

Description

@dergigi

When opening Pika on Android after the app has been in the background for a while, sending a message fails silently with a red circle indicator (no error message). The only way to recover is to force-kill the app, reopen it, navigate back to the chat, long-press the failed message bubble, and hit retry.

Once you do that, it usually works fine for the rest of the session. The problem resurfaces after the app has been backgrounded long enough, suggesting the relay connections go stale and aren't re-established when the app comes back to the foreground.

This doesn't make Pika unusable on Android, but it's a significant reliability issue since it happens almost every time the app is reopened.

Steps to reproduce:

  • Open Pika on Android, send messages normally (works fine)
  • Background the app for a while (exact duration unclear, maybe 10+ minutes)
  • Reopen, go to a conversation, send a message
  • Message fails with red circle, no error text
  • Force-kill app, reopen, long-press failed message, retry -> works

Expected: Messages send reliably after reopening the app from background, reconnecting to relays automatically if needed.

Environment: Pika Android v1.1.1 (10101) on GrapheneOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions