Building Apps for Patchy Connections
An app tested on office Wi-Fi can fail in a basement classroom or at a rural site. If a form is lost when the signal drops, people return to paper and type it in later, which defeats the purpose.
Save input on the device as it is entered and show clearly whether it has reached the server. A small label saying pending or synced answers the question users care about most.
Decide what happens when two people change the same record while apart. For attendance, keeping the latest mark with a history may be fine. For money or stock, ask a person to resolve the conflict.
Keep requests small, retry them safely and give each submission an identifier so a retry does not create a duplicate. Test by switching the phone to aeroplane mode halfway through a task and seeing what survives.