Closed pfedotovsky closed 5 years ago
The problem is that you're running this on a non-looper thread (one without a synchronization context). This means your local instance can't detect there are changes. You can either call realm.Refresh()
in the loop or install a synchronization context via Nito.AsyncEx
. You can read more about it in the docs.
Goals
I've set up Realm Cloud and want to sync my local database with Realm Cloud in real time. Specifically, I want to change objects in the cloud realm and see them changed in a local database.
Expected Results
A local (e.g. mobile) database is synchronized with the cloud database.
Actual Results
Changes in cloud database not synchronized with local one.
Steps to Reproduce
Code Sample
If I change FirstName in cloud realm, changes are not reflected in local database.
Version of Realm and Tooling