IOS Live query is not working with parse v6
New Issue Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
- [x] I can reproduce the issue with the latest version of Parse Server.
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
- Parse Server version: 6.0.0
- Operating system: AWS Linux server
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): AWS
Database
- System (MongoDB or Postgres): MongoDB
- Database version: MongoDB atlas latest
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc): iOS
- SDK version: 2.8.1 https://github.com/parse-community/ParseLiveQuery-iOS-OSX
Logs
Thanks for opening this issue!
- 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
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?
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
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?
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.
Is the socket connection established between server and app?
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.