-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are you planning to implement LiveQuery in dotnet sdk? #199
Comments
Eventually, yes. We do have plans to support LiveQuery on all of our targets that we currently support, including .NET. The situation is a bit more complicated than other platforms, as we have such a diversity in versions of .NET and APIs supported by our .NET platforms compared to everywhere else, and as such we do not currently have an ETA. I'll keep this issue open until we have a formal release for it, or when we might have an ETA. To others reading this issue: To help us gauge interest and priority amongst other issues, if you're interested in this, please comment on this issue. |
Definitely interested in this for Unity iOS/Android. |
👍 👍 |
💯 |
+1 |
+1 for Unity |
I am developing a mobile game using Unity3D. |
@hl4hck Absolutely! The protocol specification for LiveQuery can be found here: https://github.com/ParsePlatform/parse-server/wiki/Parse-LiveQuery-Protocol-Specification. You can also, of course, take a look at the open source JS and iOS clients and use those as a basis for any other clients you might make. |
@richardjrossiii Thank you! |
+1 |
1 similar comment
+1 |
+1, although the API seems pretty simple. I'll try to implement in Unity using BestHTTP until it's stable in the Parse SDK. |
+1 |
yes please! |
+1 |
Has anyone successfully gotten LiveQuery to work from .NET? @richardjrossiii is this still active? |
+1 |
@chris3000 Did you have any luck getting this working with Unity? Looking into trying it myself but if there is anything interesting you have to share could save some tears haha |
No, I haven't tried yet. We're using a polling strategy for now. |
+1 Unity. |
I would be so down to work on this! Im just not sure where to start. |
+1 for unity |
+1 Would love to see this for xamarin forms apps |
+1 |
1 similar comment
+1 |
+1 any updates ? |
It also occurred to me that if you are referring to LiveQuery specifically, I was working on it at some point, but did not have enough time to finish it. I may at some point, but it should be noted that pretty much anyone can do it because the .NET/CLI Parse API is almost analogous to the "Java Platform"/JVM Parse API, so it shouldn't require too much work considering that LiveQuery is already implemented in Java, something I failed to notice when I was trying to do it myself. |
Is this being worked on at all? any plans to release it into this library? I'm thinking about implementing live query support for .NET myself if it doesn't yet exist as open source. I'll probably base it off of the Android/Java implementation. |
@JonMcPherson feel free to get started, I believe the architecture of the SDK is settled now and @montymxb could get you started! |
@flovilmart Just to update, I have ported the ParseLiveQuery-Android project to .NET Standard 2.0 built against Parse 2.0.0 from master. It uses the websocket-sharp library and is complete with unit tests which were also ported and improved from the Android implementation. |
That’s awesome! Wonderful! |
Hi All, is LiveQuery now available on the .NET SDK by anychance ? |
I think this topic is not complicated to implement. I'm using Back4app as Parse cloud provider. @JonMcPherson I checked your code: https://github.com/JonMcPherson/parse-live-query-dotnet. Seems to be very promising, however I think the implementation is little bit over complicated for most scenarios. Still it is good to check your code to understand the connection against Parse Server service. So, instead of wait for this Parse SDK library to include the change, I will say developers here, go ahead and implement your own version of this feature. I think these days, developers want to have everything on a silver platter and I get it, but sometimes we can do a little of extra effort and search different solutions |
@joechihe This needs to be done; if you believe you can, please make a pull request adding this feature. Otherwise, I will eventually get to it, but it will take a while. |
@TheFanatr Oh, I didn't mean to wait until you can implement it. Actually I wanted to share that everyone can implement this, and not to wait for you guys to add the feature. You're doing great job! And Parse Server is still a great solution for a backend system |
We'll of course still try our best to add it. 😃 |
@joechihe Yea I mean porting the Java implementation was easy enough, and it works great for me. That's also the reason the implementation seems a bit verbose and over-complicated. Had I implemented a client myself, I probably would have trimmed it down a bit. |
Cool, I will try to create a simplified implementation with the most common scenarios. Still I don't know if it is easier create it as separated library, or create it as functional feature inside Parse SDK library. I have limited time, so I need to go for easiest option for me. |
@joechihe I would be interested in your simplified implementation too. I haven't looked into LiveQuery that much and it would help me better understand its purpose. (No pressure! But honest interest =)) |
I love the idea of the overall system and wanted to use it for several solutions but I have moved so much to Azure at this point ... not sure when Back4App or the like will be a better deal for me ? |
I have LiveQuiry working in unity 2020.1 on the new 2.0.0 code base. If this is interesting to anyone I am happy to share, just not quite sure the best way to do so. |
If you do manage to make it work please do let me know, I would like to test this for Unity and develop something with it :) |
It is working now, I am just writing up some quality of life improvements for unity (automatically calling on main thread) |
Not a problem, take your time to test and possibly comment that would be truly appreciated. Also, would you be able to provide a test on how to make it work? |
Ok I have it all running with a test scene and a example script (just fill in your own keys and URLs) Effectively it is just a tweak of what @JonMcPherson did with some quality of life stuff for unity, I would love to maybe work out a way to properly contribute to that or to this. But at the moment just pull this down and let me know what you think. I have it working on Windows Standalone, iOS, Android (including Quest (woooo)) If all that you want is a Parse 2.0.0 compatible liveQuery implementation you can ignore the stuff around RealTimeQuery, that whole thing is a way i wanted to simplify the process of a liveQuery by combining the initial query and the live query into one Real Time entity that you can just make subscribe to. I think it is fabulous but it might be hot garbage for all I know. |
Awesome thanks, will test it out when I can and let you know how it goes! |
Hello, i can't open the scene with unity ( i'm using mac , don't know if it imply something ) . By the way , could you explain , how to import it on an existing project ? Thanks you , |
Did someone made JanusMirith job work ? If yes , could you explain how you did import the project , where to put the files ? |
I tried to build JonMcPherson's code on https://github.com/JonMcPherson/parse-live-query-dotnet with visual studio 2019, |
I try to use parse livequery dotnet on my winform project so my winform can get real time data from mongo database, but I just cannot solve the issues on https://github.com/JonMcPherson/parse-live-query-dotnet which failed to build, anybody can help me out will be very appreciated, my email is [redacted]. |
+1 Unity - C# |
8 yrs and not resolved!!! |
we are developing a real-time game using unity3d . please let us know that if you are going to implement the LiveQuery feature in your sdk, so we start using it to develop our game.
The text was updated successfully, but these errors were encountered: