fun executeClientReset()

Calling this method will execute the Client Reset manually instead of waiting until the next app restart.

After this method returns, the backup file can be found in the location returned by recoveryFilePath. The file at originalFilePath will have been deleted, but will be recreated from scratch next time a Realm instance is opened.

WARNING: To guarantee the backup file is generated correctly all Realm instances associated to the session in which this error is generated must be closed. Not doing so might result in unexpected file system errors.


if not all instances have been closed.