i need some advice concerning background synchronisation...
At the moment I have an app which starts sync in background after app has started and then continues via timer every 2 minutes. Now I want to enable the user to manually start sync process in case of impatience... but ensure that there is no currently running sync.
If there is an sync running the users request should be "redirected" to this sync if not a new sync shall be started, but prevent the auto sync from being starts while manual sync is in progress.
Unfortunately I don't have an idea on how to do this....
Thx for your help!
BR Boris