21
I am working on a project where it will be necessary for users to register offline and then submit their registration to the server as soon as the internet connection is available.
My problem is knowing:
- What is the best way to work offline? Preferably native Android.
- When 2 users on different devices perform a modification to a person’s information, as I will update on the server?
If two people change the same record offline, the first one that syncs must have the change applied while the second one must fail (a revision number associated with each record can be used to verify this).
– Guilherme Bernal