my-first-realm-app icon indicating copy to clipboard operation
my-first-realm-app copied to clipboard

iOS Full Sync Demo App does not seem to work.

Open basvankuijck opened this issue 5 years ago • 0 comments

Expected Results

Be able to see todo list items synced from the cloud instance

Actual Results

No items at all

Steps & Code to Reproduce

  • I've download the example files for iOS (02-full-sync in specific), installed the pod and created a new Cloud Instance
  • I updated Constants.swift with the correct value in the MY_INSTANCE_ADDRESS let.
  • Opened Realm Studio and created a new realm ("ToDo") in that instance.
  • Then I run the app in the simulator
  • Register a new user
  • Add a todo item

Untill this point it seems to work correctly, but if I open Realm Studio, and the ToDo realm in particular, it displays:

This Realm has no classes defined

And after that if I remove the app from my simulator's springboard en re-run it. After logging in, with the same user, my previously created todo item is gone.

I would expect it to be there, since it should be stored in the cloud, but it's not. In Realm Studio I do see the newly registered user.

Code Sample

The 02-full-sync iOS example project

Version of Realm and tooling

Realm version: 4.4.1 XCode version: 11.2 Which device OS version and device: iPhone 8 simulator (13.2)

basvankuijck avatar Nov 29 '19 14:11 basvankuijck