zulip-flutter icon indicating copy to clipboard operation
zulip-flutter copied to clipboard

Notifications : Tapping on the notification in the android opens the wrong conversation. #Android #Notifications

Open rajany080 opened this issue 1 month ago • 3 comments

Device: Android iOS: Not tested

Description

When the app remains in the background (in the recent apps stack), tapping on a notification for a specific conversation opens the wrong chat or the default Channels page, instead of the conversation related to the notification.

This issue seems related to how the app restores its navigation state when resumed from background.

Steps to Reproduce

Open a conversation with Person A.

Press the Home button — the app goes to the background (remains in the recent apps list).

Receive a new message notification from Person B.

Tap on the notification to open the chat.

Expected Behavior

Tapping the notification for Person B should directly open the chat with Person B.

Actual Behavior

If the app is already in the background, tapping the notification opens the previous chat (Person A) instead of Person B.

If the app is closed completely, tapping the notification opens the default Channels screen instead of the chat.

Impact

Causes confusion — sometimes I end up sending messages to the wrong person, assuming the notification led to the correct chat.

When redirected to the default Channels page, it takes extra steps to manually switch to private chats and open the right conversation.

Possible Cause (Guess)

Might be related to improper activity stack management or intent handling when resuming from background.

Environment

App Version: 30.0.266

Android Version: 15

Device Model: Samsung A14 5g

Additional Notes

This isn’t a critical bug, but fixing it would significantly improve user experience and reduce the chances of miscommunication.

rajany080 avatar Oct 26 '25 14:10 rajany080