Hi, I believe the issue is coming from the difference between item and items.
In the backend you have a schema on a collection called items
but it has a "title": "item"
which means that it will correlate to a Realm class named “item” not “items”.
Therefore, you should have 2 options:
- Change the title field in the schema page to be “items”
- Use “item” as the name of your realm object
Most of the errors in your application are:
ending session with error: non-breaking schema change: adding schema for Realm table "items", schema changes from clients are restricted when developer mode is disabled (ProtocolErrorCode=225)
This is the error you get when the backend has the schema as “item” but you are passing it a schema with the title of “items”
I see you tried using a realm object that has a title of “item” but I cant easily find in the logs what error you are getting when using that since all of the errors I have found are the one above.
Either way, I would suggest either:
- Using “item” and report back if/what the error is when doing that (I would expect that to work)
- Update the backend schema to just be “items” and deploy it as a breaking change (you are in development so there shouldn’t be an issue)
- Turn on developer mode which will just create the schema on the backend exactly as you are using it in Realm
Best,
Tyler