parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.92k stars 4.79k forks source link

IOS Live query is not working with parse v6 #8433

Open diode02 opened 1 year ago

diode02 commented 1 year ago

New Issue Checklist

Issue Description

Parse live query is not receiving updates when I have updated the parse server to version 6.0. It works fine with version 5 but as soon as we switch to version 6, it stops working. Also, version 6 works fine with Android but not working with IOS.

Steps to reproduce

Actual Outcome

Expected Outcome

Environment

Server

Database

Client

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

mtrezza commented 1 year ago

SDK version: 2.8.1

Could you add a link to the release page to make sure you are referencing the correct version and SDK?

diode02 commented 1 year ago

SDK version: 2.8.1

Could you add a link to the release page to make sure you are referencing the correct version and SDK?


https://github.com/parse-community/ParseLiveQuery-iOS-OSX

mtrezza commented 1 year ago

Got it, you mean the LiveQuery SDK version. We are preparing to move this to main iOS SDK, hence I wasn't sure. What is the error you are getting; any logs on the server side or SDK side?

diode02 commented 1 year ago

The server is performing totally normally, and android is receiving live query events but IOS is not receiving any event related to update/create. No error of any kind.

mtrezza commented 1 year ago

Is the socket connection established between server and app?

junya100 commented 10 months ago

How about this issue? We met the same problem with iOS-OSX SDK(version 2.7.3). https://github.com/parse-community/Parse-SDK-iOS-OSX/releases

And we can see following log message. ParseLiveQuery: WebSocket viability changed to viable

It seems the socket connection has established.