akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Update device last contact time to the dashboard #1585

Closed muloem closed 8 years ago

muloem commented 8 years ago

Since we disabled the location beacon (https://github.com/akvo/akvo-flow-mobile/issues/384), the device last contact date and time on the dashboard is also not updated. We will now update this time based on the last contact of the device to check/download surveys from the dashboard

muloem commented 8 years ago

Test Plan

  1. Open the app on a device and cross check on the devices tab that the last contact date has been updated
  2. Create and assign a survey to the device. After downloading the forms successfully verify that the last known contact date of the device has been updated
rumca commented 8 years ago

Test plan passes as described :+1:

muloem commented 8 years ago

We need to revisit this issue to handle cases for devices that are notifying or connecting to the dashboard for the first time.

rumca commented 8 years ago

If the test plan for this is simply loading the app on a device which hasn't previously connected to the dashboard, and checking the last contract time, then this works as intended :+1: