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
224 stars 52 forks source link

Messages Received Late #97

Closed sunbladehub closed 7 years ago

sunbladehub commented 7 years ago

This app works great for the most part. On one phone I rarely have issues but on another phone messages arrive late (10-120 min) even though the sync interval is 1 min and I have set the callback URL in the voip.ms config. Is there a way I can debug this issue and find out what is causing the delay?

I'm using v0.46. If you need more info let me know.

michaelkourlas commented 7 years ago

Unfortunately I can't really determine what would be causing the problem here with any degree of certainty. A couple of ideas:

Incidentally, if you're using the 1 minute sync just for notifications, you can disable that and just use FCM instead; FCM uses push notifications which should be instantaneous.

sunbladehub commented 7 years ago

It seems to be due to network latency / dropped packets. When I was visiting a nearby large city where cell reception was strong the issue largely disappeared.

Thanks for your work!