Simple example for synced DB required


For more than 1 week I am moving in circles by either ending up with a ‘user must be of type ‘object’, got (undefined)’ or with a realm object stuck inside the Promise.

The only sample code out there seems to be the todoapp that throughs the 'deprecated in favor of login(): Promise '.

Please help.


It would be useful to see your code to better answer your questions.

True, we don’t have a simple example to try. Currently, the sync documentation is your best source of information.