You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
10.13.0 (2022-05-18)
Enhancements
Adds the functionality to convert Sync Realms into Local Realms and Local Realms into Sync Realms. (Issue #2746)
Added support for a new client reset strategy, called Discard Unsynced Changes. This new stragegy greatly simplifies the handling of a client reset event on a synchronized Realm.
This addition makes Session.Errordeprecated. In order to temporarily contiue using the current Session.Error the following must be done:
In order to take advantage of the new Discard Unsynced Changes feature, the following should be done (all callbacks are optional):
varconf=newPartitionSyncConfiguration(partition,user){ClientResetHandler=newDiscardLocalResetHandler{OnBeforeReset=(beforeFrozen)=>{// executed right before a client reset is about to happen},OnAfterReset=(beforeFrozen,after)=>{// executed right after a client reset is has completed},ManualResetFallback=(session,err)=>{// handle the reset manually}}};
If, instead, you want to continue using the manual solution even after the end of the deprecation period, the following should be done
varconf=newPartitionSyncConfiguration(partition,user){ClientResetHandler=newManualRecoveryHandler((sender,e)=>{// user's code for manual recovery});
Fixed
Fixed a System.DllNotFoundException being thrown by Realm APIs at startup on Xamarin.iOS (Issue #2926, since 10.12.0)