-
Type:
Story
-
Resolution: Done
-
Priority:
Low
-
Affects Version/s: None
-
None
-
STOP TB Sprint 2
In the current architecture:
1. The data is first saved to the local Room DB in the phone.
2. A sync worker then syncs the data to the local laptop.
This creates additional complexity and unnecessary moving parts.
1. During the camp operation, the forms must be submitted directly to the local server.
2. A local DB is only relevant for pre-camp, when the officer goes for the beneficiary and household registration in the field.
The devices must run a polling of 5-10 seconds for new data.
A manual refresh must be used only as a fallback.