Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Characters are getting dropped in chat messages on Android #1365

Closed
ear-dev opened this issue Mar 6, 2023 · 3 comments
Closed

[BUG] Characters are getting dropped in chat messages on Android #1365

ear-dev opened this issue Mar 6, 2023 · 3 comments
Assignees

Comments

@ear-dev
Copy link

ear-dev commented Mar 6, 2023

So far we have only seen this issue on Android mobile devices. It happens in both the mobile app and on the web app through a mobile browser.

After typing into the composer, if you send the message by hitting the little airplane icon, a bunch of the trailing characters in the message are dropped.

  • i.e. type "Hello" and only "H" shows up.
  • type "hello will this work" and something like "hello will this w" shows up.

If you send the message using the return button on the android keyboard we are not seeing this issue. I think this points to some livechat code and compatibility with android perhaps.

@ear-dev
Copy link
Author

ear-dev commented Mar 7, 2023

  • Possibly only chrome on Android.
  • State not getting updated properly.
  • Only happens when we use the send button.
  • If we type -> hide keyboard -> open keyboard -> push send, then it works.

Note:

  • 2/28 new major version of myViasat deployed - web only. This is when the issue was first reported.
  • 2/22 we upgraded to 5.x on Rocketchat.

@ear-dev
Copy link
Author

ear-dev commented Mar 7, 2023

@bhardwajaditya please prioritize this one.

@ear-dev
Copy link
Author

ear-dev commented Mar 8, 2023

@bhardwajaditya I have merged and will deploy this fix into prod tomorrow after it gets through our CI/CD. I suspect however that the fix will not be applied to mobile app users unless they were to clear their app cache/data and re-login. Likely, most users never do that. Any thoughts about how to force our component/index.js to reload? Or, since we are loading into a webview, it should refresh everytime? I'm pretty sure I tested, and I had to clear all data/cache.

@ear-dev ear-dev closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants