Implementing History and Undo/Redo


I haven’t seen much guidance about implementing history or undo/redo with apps that use Realm.

According to this thread, __realm_sync . client_history takes up all cluster storage , it looks like Realm keeps track of every changeset, so this should be possible.

I’d like to access these changesets on a per-partition basis, so a user could revert any number of these changes as necessary. I think google sheets’ handling of history is a good example, and I’m looking to implement something similar.


1 Like