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
Originally posted by DercilioFontes March 22, 2022
Hi,
I would like to know if you guys have a solution to that problem. Everything is working fine, and thanks for the package.
The only problem I am facing and I couldn't find any help googling is that if the ios side that is chatting goes to background mode it misses the messages sent to it during that time. I know the iOS background mode doesn't allow the communication to happen, but when it is active again it could update with new messages.
I was trying to use some ChatAdapter methods like fetchInitialData and loadPreviousChatMessages but no result.
I'm in an React Ionic project, using:
"@azure/communication-chat": "^1.1.2",
"@azure/communication-common": "^2.0.0",
"@azure/communication-react": "^1.1.0",
The text was updated successfully, but these errors were encountered:
So, for someone that can be facing the same issue and as an update, I got a solution adding a listener event to the app state change (when it is active again) and recreating the ChatAdapter and calling the fetchInitialData and loadPreviousChatMessages.
Moving to an issue.
Discussed in #1705
Originally posted by DercilioFontes March 22, 2022
Hi,
I would like to know if you guys have a solution to that problem. Everything is working fine, and thanks for the package.
The only problem I am facing and I couldn't find any help googling is that if the ios side that is chatting goes to background mode it misses the messages sent to it during that time. I know the iOS background mode doesn't allow the communication to happen, but when it is active again it could update with new messages.
I was trying to use some ChatAdapter methods like
fetchInitialData
andloadPreviousChatMessages
but no result.I'm in an React Ionic project, using:
"@azure/communication-chat": "^1.1.2",
"@azure/communication-common": "^2.0.0",
"@azure/communication-react": "^1.1.0",
The text was updated successfully, but these errors were encountered: