-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable manual sync when auto sync is in progress #1149
Comments
Had tried using the SyncActions.syncing field to implement the fix as suggested in #1150 (comment), but it resulted in issue due to the Background-sync being re-configured at the end of Manual-sync and overriding the SynComponent.ProgressBarView.onPress action. Screen.Recording.2023-10-25.at.5.59.43.PM.mov |
… workManager" This reverts commit 6698139.
Made additional code changes to:
Screen.Recording.2023-10-26.at.12.36.15.PM.movScreen.Recording.2023-10-26.at.12.41.07.PM.mov |
…d SyncComponent.js for reset after fullSync
SyncService.reset and MenuView.reset code are same. We can move it to GlobalContext. For QA Purpose (assuming it is developer)
|
@petmongrels , i did attempt to move the reset() method to GlobalContext, but the app fails to launch due to cyclic dependency. |
@petmongrels , retained only SyncService.reset code and modified menuView to also invoke the same. |
@himeshr why do we need this for testing. when there are media observations, its easily identifiable from the logs and auto sync take a long time to complete and making manual sync to overlap is easy. We should try to do testing without code changes so that we can make sure we are testing with the right apk. I will unmark it as Tech for now. Let me know if you still think otherwise. |
Have made it back tech card after discussion with Himesh. |
Background
Multiple syncs happening from the same phone is causing issues with the integrity of data in the system and also registering errors on Bugsnag. These are the known issues
Story
As a user, I dont want the changes I ve made in my app, to be uploaded multiple times, so that the app behaves in an expected manner.
Currently automatic sync is disabled when manual sync is started. But we dont disable the manual sync when automatic sync is in progress.
Tech Recommnedation
Acceptance criteria
Solution Notes
See spike notes here: #1150 (comment) have added the AC below:
The text was updated successfully, but these errors were encountered: