I'm building a chat application with Parse. I have a class "Conversation" and a class "Message". A Conversation can have many messages (one-to-many) relationship.
Also, I'm using the local datastore to cache the objects (both Conversation and messages with a PFRelation). Everything works fine until I try to fetch the conversation from server for updates. Note, I'm just querying for the conversation, and hence new message objects are not fetched (which is expected according to Parse's documentation) .But surprisingly I can't even see the messages from local datastore.
Does anyone know a way to store PFRelations properly to local datastore?