Affected Package
locorda_core
Problem / Motivation
While the framework is working fully offline, a sync of course requires online state. Currently, a requested sync is triggered immediately, regardless of the current online state.
Proposed Solution
When the user does a manual sync and it fails because the device is offline, the user should be informed properly.
But automatically triggered syncs should be skipped and then executed when the device comes only.
We should also evaluate if sync should always be executed when switching from offline to online (and the last sync was done more than x minutes ago).
Alternatives Considered
No response
Additional Context
No response
Affected Package
locorda_core
Problem / Motivation
While the framework is working fully offline, a sync of course requires online state. Currently, a requested sync is triggered immediately, regardless of the current online state.
Proposed Solution
When the user does a manual sync and it fails because the device is offline, the user should be informed properly.
But automatically triggered syncs should be skipped and then executed when the device comes only.
We should also evaluate if sync should always be executed when switching from offline to online (and the last sync was done more than x minutes ago).
Alternatives Considered
No response
Additional Context
No response