michaelkourlas / voipms-sms-client

Popular Android messaging app for VoIP.ms, a Canadian VoIP provider
https://play.google.com/store/apps/details?id=net.kourlas.voipms_sms
Apache License 2.0
216 stars 51 forks source link

Messages not sent when changing screen while "sending" #254

Open yulman19 opened 1 year ago

yulman19 commented 1 year ago

I'm on a pixel 6a with 0.6.25, but this has been present for a long time. If I click to send a message before "sending" disappears, it stays on sending and never get sent. I have to select, delete, rewrite and wait for the message to be sent to quit the screen.

michaelkourlas commented 1 year ago

Hmm... I can't seem to reproduce this. I'm using a Samsung Galaxy A52 5G.

johnlescault commented 1 year ago

I am able to reproduce this on a S21+. It seems to occur when I turn the screen off though as well. I was able to reproduce this twice.

Would there be a way to make it try and "resend" if it has been saying "Sending" for too long?

thekofimensah commented 8 months ago

I was able to make this happen if I press the back arrow instead of just exiting the app.

i.e. Send a message, and then press back arrow immediately and it shouldn't send. I reproduced it 5 times in a row.

I'm on pixel 7

Edit, added more information

yulman19 commented 6 months ago

image image

I lost focus right after clicking send (changed app) and I took pictures of it. Stays there forever, look at the clock

xenotropic commented 5 months ago

Also reproduces on LG V20 (LineageOS 19 / Android 12). Always staring at the app waiting to see "Sent" before I switch off to another app.

vgstef commented 5 months ago

I can also reproduce on a LG G8 ThinkQ.

The message stays in the "sending" mode even if we quit the app and come back.

One way I found to send that message is to disconnect from internet and change from Wifi to Data. Then the message gets in the state "Not sent" and the app offers to try again by clicking on the message.

Could the app prevents us from going back to the listing before the message is sent? Or the app could check if the message is in "Sending" mode after a little while, and if so, it could try to send it again?