RocketChat / RocketChat/Rocket.Chat.ReactNative

Session expired in the Application but the user is not notified

Open
#3,434 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

👍 improvement
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

Sometime, the users receives push notifications, but the message are not displayed in the application.
But login out and entering the credentials again seems to resolve the issue.

Environment Information:
  • Rocket.Chat Server Version: 3.14.1
  • Rocket.Chat App Version: 4.12.0.108
  • Device Name: iPhone 8
  • OS Version: 15.0
Steps to reproduce:
  1. Login the application
  2. Wait the session expiration period
  3. Open the application
Expected behavior:

A message should tell the user to login again.

Actual behavior:

Nothing happen, the user sees the channels, but they are not updated.
If the user explicitly logout and enters its credentials again, the application is working.

Additional context:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem with the listed Rocket.Chat server and app versions: let the session expire, then reopen the application. Trace the session-expiration handling and verify that the user is prompted to log in again and that channels update normally after authentication is restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.