I'm trying to make a chat function for my application. I have figured out everything so far, except for the message synchronization. At the moment my application works in such a way that when I send a message, it will send a push notification that will synchronize that particular user if he has the app open. This however does not synchronize data if the user does not have the app open and gets redirected to it through a push notification, or does not solve the problem of the app being blocked and reloading while the synchronization happens. Does anyone have an idea on how I can solve this? I simply want the chat window to synchronize with incoming messages. In Web Responsive, it is done easily by a Microflow Timer that refreshes an object in client every few seconds, this is not available in Native.
asked
Vojtěch Šiler
1 answers
0
The app events widget has a nanoflow timer, this will provide you with what you need.