abstract val syncClientResetStrategy: SyncClientResetStrategy

Strategy used to handle client reset scenarios.

The SDK reads and writes to a local realm file. When Device Sync is enabled, the local realm syncs with the application backend. Some conditions can cause the realm to be unable to sync with Atlas. When this occurs, a client reset error is issued by the server.

There is one constraint users need to be aware of when defining customized strategies when creating a configuration. Flexible Sync applications can only work in conjunction with ManuallyRecoverUnsyncedChangesStrategy whereas partition-based applications can only work in conjunction with DiscardUnsyncedChangesStrategy.

If not specified, default strategies defined in will be used, depending on whether the application has Flexible Sync enabled. Setting this parameter manually will override the use of either default strategy.

See:Client Reset