I read several topics but there is so many options so one can easily lost:
My situation:
Made breaking changes in DB schema (renamed document property), so client reset is needed. I have implemented ClientResetHandler in realm config (just for logging for now). But none of this handlers get called. Instead I have exception OnSessionError callback when I update subscriptions:
Realms.Sync.Exceptions.SessionException: Invalid query: failed to parse query: unsupported query for table "MyCollection": key "MyOldQueryKey" is not a queryable field
So far exception is understandable. The question is: How can I reset the client? And what it really means?
Do I need to make UI prompt for existing users to physical reinstall the app? Because fresh app install works as expected.
Is there any way to reset the client without reinstalling the app and in what callback stage, ManualResetFallback (never get called)?
Where does the Realm SDK stores this quarable old_field_name on the client side (because in code subscription method are updated with corect propertie name already)?