hoccer / scrum

General software management
0 stars 0 forks source link

Update presence when not in foreground #130

Closed jkrumow closed 10 years ago

ChristianeMussmacher commented 10 years ago

Re-Test Version 1.0.2: Between Android devices it works perfectly fine. The online status of an Android contact does only change on an iOS device, when App was killed on Android. Otherwise it stays "online".

JacobZ commented 10 years ago

This is due to our change in interpreting the online Status. There are 2 different status parameter:

  1. connection status
  2. client status The connection Status is set by the Server and shows if the client is currently connected. That means for android it states online the whole 15 minutes. The ClientStatus was not in use till now. We decided to set this from client side for the case of setting the device to sleep or leaving the app. Since this is a major change to the presence indication we implemented it backwards compatible. In case there is no Client Status we just read the Connection Status.

To appear on iOS as offline even when die Android client is connected but not in foreground, the iOS Client has to read the Connection Status as well.