Say I have few files on the android device. I would like to have a two way sync to the cloud. Should I schedule jobs using work manager or use foreground service. Do it only WiFi cause files may be huge.
Just want to know how to architect this syncing mechanism.