Reputation: 443
BranchId : 1000236 Users in Branch : 6
Suppose 6 users are logged in my application,and any user changes any data that are comming form web server it will automatically effects on others users mobile app immediately.so how to manage this changes on real time(when user offline,after comming to online then it will changes the users data)? so Firebase can help on this realtime changes? or suggest any other technology for this real time chnages?
Now I am using Device Timer for update this data on every 10 second,but I thing this is not a good process for realtime updates.and device timer always updating the local database data.
Upvotes: 1
Views: 1756
Reputation: 11197
Do some reading on SignalR. James Montemagno wrote a blog post about it detailing how to make it happen within Xamarin, he also posted a video on YouTube.
It's not without it's challenges so tread carefully and make sure it's the right solution for you.
https://www.youtube.com/watch?v=afUbnWlJM7M
https://montemagno.com/real-time-communication-for-mobile-with-signalr/
Upvotes: 1