-
Notifications
You must be signed in to change notification settings - Fork 21
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
@org.atmosphere.config.service.Disconnect do not detect Android Chrome close Tab #32
Comments
Checking a bit further, it is detected as a @org.atmosphere.config.service.Resume which is obviously wrong. |
@umbreak Which server are you using? That's the server that send this information to Atmosphere. |
It works with Firefox desktop, Firefox mobile, chrome desktop, etc. I am using directly Play (2.3.10) without any server in between (not Apache nor Lighthttp). And Play is using internally Netty Maybe could be related with that issue:http://stackoverflow.com/questions/11755605/chrome-websocket-connection-not-closed-when-browser-closed ? |
@jfarcand , some other suggestion or I should hack the onResume to detect when it is Chrome and force the Disconnect? |
Yes. As you suggested, the _disconnect method is not being called for Android Chrome when closing the browser though the android apps panel. Only in case of changing the URL on the browser, that method is called. What is the status of this issue? |
Hello,
Atmosphere-play 2.1.2 with
@ManagedService
When closing a tab with Android Chrome, the
@Disconnect
method is not fired.AsyncSupportListener onClose
is fired, but this is not in the context of the room, so it is not useful for me.Try out the chat sample you provided with Chrome browser for Android and you will see it does not detect the closing of the tab (it does detect if in the URL bar I change the URL, but nothing else).
The text was updated successfully, but these errors were encountered: