Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

iOS Full Sync Demo App does not seem to work. #61

Open
basvankuijck opened this issue Nov 29, 2019 · 0 comments
Open

iOS Full Sync Demo App does not seem to work. #61

basvankuijck opened this issue Nov 29, 2019 · 0 comments

Comments

@basvankuijck
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant