Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

Push Notifications lead to incorrect discussion / group discussion

Open 2disbetter opened this issue 5 years ago • 3 comments

Description:

Since 14.4 push notifications for specific discussions or group discussion do not function correctly. When the notification is tapped on, it will go to the correct discussion but after loading, another discussion will open which is not correct.

Environment Information:

  • Rocket.Chat Server Version: current snap
  • Rocket.Chat App Version: 4.14 / 4.14.1
  • Device Name: Fairphone 3
  • OS Version: Android 10 (/e/ OS)

Steps to reproduce:

  1. receive push notification and tap on notification
  2. rocket chat opens and goes to the correct discussion relevant to the notification
  3. after loading fully, the client then goes to a different discussion that is not relevant. It appears, at least that the same incorrect discussion is loaded each time.

Expected behavior:

The discussion containing the push notification message would get loaded and stay loaded until user actions make it otherwise.

Actual behavior:

See above

Additional context:

As mentioned, the incorrect discussion / group chat that loads afterwards is always the same. If I had to guess, there is some kind of hanging notification in the app, that keeps triggering the incorrect room to open.

2disbetter avatar Feb 16 '21 09:02 2disbetter

Is it similar to https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/2870 ?

C1ean avatar Feb 18 '21 16:02 C1ean

It could be, but I have no notice that pattern of use.

2disbetter avatar Feb 18 '21 17:02 2disbetter

I also noticed that. If i receive a notification from a discussion, the app is not opening on the discussion, instead opens in the last chat i had.

jsalatiel avatar Mar 11 '21 13:03 jsalatiel