1 - Apps does not do the sync, it only can ask for sync (Android does not allow that, the sync is completely invisible by the user)
2- The sync can happen even if the app is not running (push-notifications-syncs, database changes)
3- A database can be accessed by different apps and changing this database could trigger a sync that can happen during the application life time or not
4 - Apps does not run in background so if the sync was attached to the app the sync will be suspended
5 - Syncs should to be a system wide process that runs: periodical , push-notifications events, user request, or several others ways based on device status (baterry, network, disk space).
We should split sync from apps. Because:
1 - Apps does not do the sync, it only can ask for sync (Android does not allow that, the sync is completely invisible by the user) ions-syncs, database changes)
2- The sync can happen even if the app is not running (push-notificat
3- A database can be accessed by different apps and changing this database could trigger a sync that can happen during the application life time or not
4 - Apps does not run in background so if the sync was attached to the app the sync will be suspended
5 - Syncs should to be a system wide process that runs: periodical , push-notifications events, user request, or several others ways based on device status (baterry, network, disk space).