You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am building a chat application using Livequery, the chat works well with
let predicate = NSPredicate(format:"itemID = '\(itemId1)' OR itemID = '\(itemId2)'")
query = Message.query(with: predicate)?.order(byAscending: "createdAt")
let query = PFQuery(className: MY_CLASS_NAME, predicate: predicate)
this works well if I don't use live queries and pull with time interval.
Livequery also works if I don't add predicate.
Below is the error I get Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (PFQuery)'
any ideas ?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am building a chat application using Livequery, the chat works well with
this works well if I don't use live queries and pull with time interval.
Livequery also works if I don't add predicate.
Below is the error I get
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (PFQuery)'
any ideas ?
Thanks
The text was updated successfully, but these errors were encountered: