Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic data synchronization #40

Open
simon-krucinin-applifting opened this issue Nov 25, 2019 · 0 comments
Open

Automatic data synchronization #40

simon-krucinin-applifting opened this issue Nov 25, 2019 · 0 comments
Labels
fixed Should be fixed in the newest version. Re-test. hot

Comments

@simon-krucinin-applifting

The data synchronization should happen on foreground and the dialog should block the UI until the sync completes (should be truly modal). Otherwise there's a risk the data will be modified locally while changes are still retrieved from the server and there will be conflicts.

The main synchronization method is manual -- the user simply knows best when to update, as it takes a while.

For convenience (and mostly getting last minute changes), the synchronization should be triggered automatically on these occasions:

  1. After application launch
  2. After application resumes to foreground
  3. After turning on wi-fi

These shouldn't happen more often than once an hour. It means on these conditions it will be tested whether it is the first update or the last successful update happened an hour ago or earlier, and if so, the synchronization will run (blocking the user interaction).

@PetrKubes97 PetrKubes97 added the fixed Should be fixed in the newest version. Re-test. label Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Should be fixed in the newest version. Re-test. hot
Projects
None yet
Development

No branches or pull requests

2 participants