Skip to content
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

Client Reset #810

Closed
sync-by-unito bot opened this issue Aug 15, 2022 · 0 comments · Fixed by #925
Closed

Client Reset #810

sync-by-unito bot opened this issue Aug 15, 2022 · 0 comments · Fixed by #925
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Aug 15, 2022

callbacks before and after, complex tests

@sync-by-unito sync-by-unito bot changed the title Client Reset Manual Recovery Client Reset Oct 4, 2022
desistefanova added a commit that referenced this issue Nov 4, 2022
Implements Client Resets support.
Added argument clientResetHandler when creating FlexibleSyncConfiguration. There are 4 possible handles that defines the mode of processing data in case of client reset:

RecoverOrDiscardUnsyncedChangesHandler
RecoverUnsyncedChangesHandler
DiscardUnsyncedChangesHandler
ManualRecoveryHandler
The default mode is RecoverOrDiscard.
Tests are added.

Fixes #353
Fixes #810
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants