We upgraded ‘realm’ npm package from 10.23.0 to 11.0.0-rc.1 due to internal NPM package dependencies and version upgrades at react-native level.
But after upgrade the earlier values for ‘clientReset’ mode are not valid for new version. We get the below error:
LOG error= [Error: Exception in HostFunction: Unknown argument 'recoverUnsyncedChanges' for clientReset.mode. Expected 'manual' or 'discardLocal'.]
Both the alternatives do not seem to help with the recover of unsynced changes. Is the expectation henceforth to handle callback and manage locally?. What is the alternative for ‘recoverUnsyncedChanges’ in the new version?.
Any helpful pointers are really appreciated! Thanks!