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

Messages are not sent when the Internet is bad from a mobile phone.

Open IgorD1245 opened this issue 3 years ago • 19 comments

При плохом интернете на мобильном телефоне, высвечивается или ошибка или сообщение темное, не отправлено. В это время другие мессенджеры отправляют сообщения, например, Telegram, whatsapp, как можно увеличить количество попыток отправки сообщений с мобильной версии приложений?

IgorD1245 avatar Aug 26 '22 11:08 IgorD1245

If the Internet is bad on the mobile phone, either an error is displayed or the message is dark, not sent. At this time, other messengers send messages, for example, Telegram, whatsapp, how can I increase the number of attempts to send messages from the mobile version of applications?

IgorD1245 avatar Aug 26 '22 11:08 IgorD1245

If the request fails, we keep the message with low opacity (temp state) and add a red warning button on right side to resend. Doesn't that happen to you?

diegolmello avatar Aug 26 '22 13:08 diegolmello

Gray messages are still not sent when connected to stable wi-fi. So the gray ones hang until you send the message again. Where can I change the settings so that messages try to be sent, for example, every minute?

IgorD1245 avatar Aug 26 '22 13:08 IgorD1245

Where can I change the settings so that messages try to be sent, for example, every minute?

There's no such a thing, and you can correct me if I'm wrong, but whatsapp/telegram don't have it as well.

Gray messages are still not sent when connected to stable wi-fi. So the gray ones hang until you send the message again.

Can you detail your reproducible steps? It's working for me. If it's a bug, we should work on a fix.

diegolmello avatar Aug 26 '22 13:08 diegolmello

Error in the phot Ошибка

IgorD1245 avatar Aug 26 '22 14:08 IgorD1245

I need more details than that. Also, can you reproduce it on https://open.rocket.chat?

diegolmello avatar Aug 26 '22 14:08 diegolmello

Какая ошибка появляется только когда плохой интернет на мобильном телефоне. Используем собственный сервер. Как окажусь в подобных условиях, попробую воспроизвести ошибку. How to solve the problem with the exclamation mark and manual resending, It is very inconvenient to check whether each message has been sent and then resend it with your hands. How can I force the program to make more attempts to send a message?

IgorD1245 avatar Aug 26 '22 14:08 IgorD1245

whatsapp/telegram will always send messages when connected to the normal Internet. Rocketcat dslftn exclamation mark and have to send manually.

IgorD1245 avatar Aug 26 '22 14:08 IgorD1245

What kind of error appears only when the Internet is bad on a mobile phone. We use our own server. As soon as I find myself in such conditions, I will try to reproduce the error.

IgorD1245 avatar Aug 26 '22 14:08 IgorD1245

Today the problem was repeated. I wrote a message to 5 contacts while riding in the elevator. It didn't go to anyone. I went outside - there is an exclamation mark on all messages. At the same time, Whatsapp sent a message as the Internet appeared. Rocketchat had to manually resend all messages. How do I make RoketChat make more attempts to send a message, and not put an exclamation mark?

IgorD1245 avatar Aug 31 '22 08:08 IgorD1245

I see. Depending on the conditions, the app could not even try to send those messages, since it could be considered as offline. Currently, if offline, the app won't even try to send messages (so there's no retry). For sure it's something we could improve in the future.

diegolmello avatar Aug 31 '22 13:08 diegolmello

В ближайших обновлениях можно ожидать исправления или это на долгую перспективу?

IgorD1245 avatar Aug 31 '22 13:08 IgorD1245

Can we expect corrections in the next updates, or is it for the long term?

IgorD1245 avatar Aug 31 '22 14:08 IgorD1245

To be done

  • When the app reconnects, try to resend failed messages automatically
  • Suggestion: use message status.
    • If error or temp, try again.

diegolmello avatar Jan 12 '23 14:01 diegolmello

hey , is this something that has to be still worked on?

atulsingh98 avatar Dec 18 '23 05:12 atulsingh98

@atulsingh98 Yes, you can work on it. I'll be happy to review your code! 🤞🏼

diegolmello avatar Dec 18 '23 14:12 diegolmello

Hi, @atulsingh98 are you currently working on this issue? If not, I'd be happy to contribute. Just let me know, Thanks.

jsathu07 avatar Dec 18 '23 18:12 jsathu07

It appears that @atulsingh98 is currently unavailable, @diegolmello can I contribute to this issue ?

jsathu07 avatar Dec 25 '23 19:12 jsathu07

@jsathu07 sure!

diegolmello avatar Dec 26 '23 12:12 diegolmello