You state in the article that we should close a realm instance as soon as we wrote the data in it.
Christian Schneidewind
1

I haven't had the chance to use the Realm Mobile Platform and Realm Sync in a real project, but generally you ought to have open Realms on the UI thread, which should keep the session alive. If that's not the case, you could still force Realm to synchronize before closing it using `SyncSession.uploadAllLocalChanges()`.

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.