What is the right behavior when user press Logout button while being offline?You have the point there. In my case, the developer said it would cause problem if the app allows users to log out when there is no connection. This is because Log out button would invoke the web service to update user status. If user is allowed to log out, he will not be able to receive any push notification sent from server since his status is still online. What is your idea in this case?