Skip to content
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

Ping reply timer is suspended on screen off #415

Closed
daniele-athome opened this issue May 8, 2015 · 1 comment
Closed

Ping reply timer is suspended on screen off #415

daniele-athome opened this issue May 8, 2015 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@daniele-athome
Copy link
Member

Simplest use case:

  • turn screen off: Kontalk goes to inactive state
  • lose connectivity for whatever reason (without being alerted by the system)
  • after some time, ping alarm is fired
  • no response from server, ping gets stuck for either: time not passing (screen off) or device put back to sleep because 10s allowed to broadcast receivers are up
  • idle alarm is fired: shutdown for inactivity
  • no push notification, messages are delivered to next reconnection

Thanks to @M4v3r1cK87 for reporting.

@daniele-athome daniele-athome added the bug Something isn't working label May 8, 2015
@daniele-athome daniele-athome self-assigned this May 8, 2015
@daniele-athome daniele-athome added this to the 3.0-rc4 milestone May 8, 2015
@daniele-athome
Copy link
Member Author

Make AdaptiveServerPingManager delegate the actual ping to a service (the message center maybe?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant