Search code examples
phpparse-platformlivequeryparse-live-query

Problem with configuration of LiveQuery in Parseplatform


Hello i have installed Parse server and parse sdk for php on my Linux Centos Server. Parse Dashboard: 1.3.3, Server version: 4.3.0 I'm managing those db's using php code. This parser was installed by someone else. The thing is I'm not sure how to install LiveQuery for my server. I don't know if my version of server is good for this kind of operations. I found some solutions how to enable this feature, but there was something like "index.js" - in my file system it's app.js. Screen of file system In app.js i added lines:

liveQuery: {
        classNames: ["Test"] //List of classes to support for query subscritions
    }

I've created class in my db named "Test", then i found solution i need to add this line

liveQueryUrl: keyLiveQueryUrl, // Required if using LiveQuery 

I don't really know how to get this key.

How can i check if LiveQuery works? It will be used by flutter code, but i'd like to check it first in PHP.


Solution

  • My problem has been solved in my other extended topic here.