C
C#2mo ago
daminko

✅ Websocket

Hello, I want to know how can I fire an event from asp.net core backend event to get the positions from the flutter app of all the my users even if the app isn't opened
10 Replies
daminko
daminko2mo ago
I want to start a method from the backend this method asks all the clients to get their locations
Somgör from Human Resources
i think it would be much easier to just send that data to the server on app startup
daminko
daminko2mo ago
in my case it's not the best solution
Somgör from Human Resources
i dont think its the best solution to ask every single user to send that data on demand youll get the same results but more reliable when they just send it on startup after all sockets can easily die if anything using a websocket will get you even less data
daminko
daminko2mo ago
because the users are delivery men
Somgör from Human Resources
even in that case i think the users ping the server and not the server pings the user to send the data
daminko
daminko2mo ago
understood
sibber
sibber2mo ago
$close
MODiX
MODiX2mo ago
If you have no further questions, please use /close to mark the forum thread as answered