freehandvn / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

gtalksms goes offline and stays so when switching network (wlan <-> umts), but app shows green light/connected state #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start gtalksms at home with wlan, xmpp contact comes online
2. disable wlan
3. gtalksms xmpp contact goes offline but the app thinks its still connected.

What is the expected output? What do you see instead?
Gtalksms contact with goes offline for a short period of time and reapers 
online after the reconnection/network switch. Worked for me with 1.3.2

What version of the product are you using? On what operating system?
1.4
Samsung Galaxy S with Froyo 2.2.1

Please provide any additional information below.
I am using a separate xmpp account for gtalksms, both accounts aren't gtalk 
accounts. 

Original issue reported on code.google.com by fschm...@gmail.com on 30 Dec 2010 at 5:34

GoogleCodeExporter commented 9 years ago
I'm testing with my current dev version but I haven't got this issue.
When I turn off wifi, GTalkSMS try to reconnect over 3G.

You don't have install 2 versions in same time ? Donate and Free versions ? 
Because I've already a lot of troubles in this case.

If it was working in 1.3.2, it's probably a new bug, I'll investigate.

Original comment by Florent....@gmail.com on 30 Dec 2010 at 6:06

GoogleCodeExporter commented 9 years ago
I saw this and think I fixed it in a recent checkin.  The problem was that when 
a network goes down, the xmpp connection would notice it has disconnected due 
to error.  Immediately afterwards we would see the "network disconnected" 
notification and if connected, we would drop the connection until the network 
came back up.  Problem is that the xmpp stuff knew it was *not* connected, 
which made us a little upset - part of us (the xmpp part) thought we were 
disconnected, but other parts still had everything in place as if we *were* 
connected.

So I think this will work correctly in the next release.

Original comment by skippy.hammond@gmail.com on 31 Dec 2010 at 12:08

GoogleCodeExporter commented 9 years ago
@Florent: I checked that I only have one version (the donate) version 
installed. I also tried a reboot of my Droid.
@Skippy: Aren't the recent commits already part of gtalksms 1.4?

Original comment by fschm...@gmail.com on 31 Dec 2010 at 1:21

GoogleCodeExporter commented 9 years ago
'recent' is such a relative term :) - I think my reconnection changes were made 
the day after 1.4

@florent: using hg tags for releases might be worthwhile?

Original comment by skippy.hammond@gmail.com on 31 Dec 2010 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by Florent....@gmail.com on 1 Jan 2011 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:51