Closed richard457 closed 1 week ago
➤ PM Bot commented:
Jira ticket: RDART-1067
If the breaking schema change is changing something that shipped as part of the app models, then that approach wouldn't work as even after the app restart, the client would attempt to use the old schema which is now incompatible with the server schema. The only solution in that case is to delete the local Realm file and then install a new version of the app that has the correct schema.
What happened?
This is not a bug but general advice is needed, Sometimes we encounter a breaking change and it is hard to avoid a breaking change with flexible sync, we tried to implement a reset handler but we would like to hear your advice on our implementation here is our implementation
Repro steps
Version
3.1.1
What Atlas Services are you using?
Atlas Device Sync
What type of application is this?
Flutter Application
Client OS and version
windows,macos,android,iPhone
Code snippets
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response