You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using socket.io in my android app and there I can send messages to the server. Everything works as it should, also in offline mode the messages are stored in the sendBuffer.
My question is how robust is this sendBuffer because I find general information about how to disable the feature but little information about the properties of the sendBuffer. How long is the data stored in the sendBuffer? Will the data be erased when the app/mobile is restarted? If so I should have a backup database to store those messages.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently using socket.io in my android app and there I can send messages to the server. Everything works as it should, also in offline mode the messages are stored in the sendBuffer.
My question is how robust is this sendBuffer because I find general information about how to disable the feature but little information about the properties of the sendBuffer. How long is the data stored in the sendBuffer? Will the data be erased when the app/mobile is restarted? If so I should have a backup database to store those messages.
Unfortunately I can't find these answers quickly on the internet and also via https://socket.io/docs/v3/client-offline-behavior/ there is little info.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions