android-fhir
android-fhir copied to clipboard
Cleanup Sync.kt to provide only WorkManager based sync apis.
Describe the Issue
Presently there are a lot of overlapping ways/apis in the Sync.kt
available for the developer application to sync data with the remote server.
Expected changes:
- It should have a simple interface with two api : One for immediate Onetime sync and other for periodic sync.
- The developer app should be able to listen-in to the state of ongoing sync via
Flow
.
Would you like to work on the issue?
@jingtang10 do you think fixing this issue would impact #1469?
Closing this as this was addressed in #1578.
@aditya-07 please feel free to reopen if you think this is not sufficiently addressed. thanks for creating this issue!