Skip to content

Web - Offline message - The offline message is disappearing when Wifi is turned back #7772

@kavimuru

Description

@kavimuru

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Pre-Condition: Have another account you have access to and two different devices

  1. Access https://staging.new.expensify.com/[](javascript:)
    and Log into a valid Account A on Device A
  2. Click on the chat with the other Account B
  3. Disable internet connection by turning off Wifi on Device A
  4. Send some messages, while offline, to Account B you have access to
  5. Enable internet connection by turning on Wifi on Device A
  6. Log into Account B on device B and verify the messages from Account A

Expected Result:

  1. While sending messages Offline the user should see a message under the text box stating that he/she is in fact offline while writing

  2. Once logged into Account B on Device B the user should have received the message from Account A

Actual Result:

  1. While the user is typing in Offline mode on Device A, he/she does NOT see any message whatsoever stating that they are offline (This also happens on prod build https://new.expensify.com/[](javascript:)
    )

  2. Once logged into Account B on Device B the user has not received any message from Account A (Note: If the tab is refreshed on Account A on Device A, after reenabling Wifi, the entire text message that had been sent while wifi was disabled disappears as if it were never written)

Note : If the user send a message after the wifi is turned ON, only the message sent after the Wifi is ON will be received
The Account A used had 2FA enabled and this bug is reproduced for individual DM's or Group Messages. Also it is NOT reproduced vice versa, from iPhone to Mac, only from Mac to iPhone

Workaround:

Unknwon

Platform:

Where is this issue occurring?

  • Web

Version Number: 1.1.39_1
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5455342_Console.txt

Bug5455342_Prod_video.mp4
Bug5455342_Message_no_Received_with_Wifi_OFF.mp4
Bug5455342_Video_showing_both_devices_and_message_sent_after_Wifi_turned_ON.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:

View all open jobs on GitHub

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions