Closed rkumawatencoresky closed 3 years ago
let query_0 = PFQuery.init(className: "ClassA") query_0.whereKey("sender", equalTo: PFUser.current() as Any) let query_1 = PFQuery.init(className: "ClassA") query_1.whereKey("receiver", equalTo: PFUser.current() as Any) let query = PFQuery.orQuery(withSubqueries: [query_0, query_1]) let subscription: Subscription<PFObject> = Client.shared.subscribe(query) Client.shared.shouldPrintWebSocketTrace = true subscription.handleEvent { query, event in // Handle event print("query :", query) print("event :", event) }
Above code return continually ParseLiveQuery: Received ping but we don't handle it... How to fix this issue?
Above code return continually ParseLiveQuery: Received ping but we don't handle it... How to fix this issue?