-
-
Notifications
You must be signed in to change notification settings - Fork 132
iOS Swift LiveQuery not receiving events #105
Comments
Similar issue. |
Have you made any headway? |
Does it work when you run on your local dev machine? That can help rule our some issues. How many dynos are you running on Heroku? |
I will try, but if the was a problem between the client-server would we see |
I'm having the same problem. I've tried creating a one using the javascript version and it seems that ParseLiveQuery works. This might be an SDK issue but I'm not really sure, I'm still debugging the code myself looking as to where the code gets stuck (I'm not a pro though) :( |
Anyone figure this out? |
Not sure how to help without more informations, do you have server logs, that would show which query you're subscribed too and objects that enter/leave the query constraints? |
Thats exactly it. No logs on queries subscribing, likely because the never subscribe and never send events. The only thing that occurs is |
I was talking about object creation logs, like an object gets created and it should be reported to the client but is not reported. Does it work locally? |
Yes I think that is it. Object gets created/modified and is not reported to the client or is reported, but not handled. Running locally:
|
I got the same issue, and my verbose response message like below: verbose: REQUEST for [PUT] /parse/classes/Posts/3SQbn6pJft: { and source code:
|
is anyone out there? |
@justinshuls not sure what your issue is, is your subscription properly retained? Using the memory tool in Xcode, the object should appear. Also, we're running it in production now, have have no issue receiving events. Did you try with a local parse-server? |
Do you have an example project that works that you could share? My local verbose is above if that helps. I am lost. |
make sure that the live query client object and the subscription object did NOT release(auto release) BEFORE they actually received events. eg. Declare the client object and subscription object in viewDidLoad method and initialize, two objects will be release after finished executing of the method, and never received any events after that moment. |
https://stackoverflow.com/questions/44273455/parse-cloud-livequeries-ios-client-doesnt-work |
I'm pretty convinced that there is a problem with the current version of LiveQueries for iOS. |
Forgot to update this thread, Look at my answer on @EtgarSH's stackoverflow question. I have found out why the project wasn't retrieving any events, the problem wasn't with the SDK, but with the lack of explanation as to how and what was happening on the |
Hello I have a subscription to a query that signals the subscribed event but does not signal any other event.
When I run the following code I get the "subbed" message. And on my remote server I can see the following logs.
Swift code:
A sample object on my remote database
I am connecting to a remote database that I set up on Heroku with the parse server example.
The config for that server is
Locally my app I am using the following dependancy versions.
The text was updated successfully, but these errors were encountered: