Surveys on device need to update automatically when they are changed on the server. In order to do this we will need some sort of versioning on the surveys.
The easiest thing to do would to maintain an updated_at timestamp on the survey that is updated when anything on a survey is changed. This can be fed into the getVersion view and could be used to trigger a survey update.
Surveys on device need to update automatically when they are changed on the server. In order to do this we will need some sort of versioning on the surveys.
The easiest thing to do would to maintain an updated_at timestamp on the survey that is updated when anything on a survey is changed. This can be fed into the getVersion view and could be used to trigger a survey update.