Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatComposite is missing messages sent when iOS in is background mode #1720

Open
ddematheu2 opened this issue Mar 24, 2022 Discussed in #1705 · 3 comments
Open

ChatComposite is missing messages sent when iOS in is background mode #1720

ddematheu2 opened this issue Mar 24, 2022 Discussed in #1705 · 3 comments
Assignees
Labels
chat composite tracked in ado Bug is being tracked in Team's Azure Dev Ops

Comments

@ddematheu2
Copy link
Contributor

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 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",

@alkwa-msft alkwa-msft assigned alkwa-msft and PorterNan and unassigned alkwa-msft Mar 24, 2022
@DercilioFontes
Copy link

Thanks, @ddematheu2.

I think it is an important issue.

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.

@carocao-msft
Copy link
Contributor

carocao-msft commented Nov 3, 2022

Hi, Just want to let you know we have created a work item for this issue, will update you once it's done! :) Thanks for your patience!

@jpeng-ms
Copy link
Member

ADO item #2887810

@jpeng-ms jpeng-ms added the tracked in ado Bug is being tracked in Team's Azure Dev Ops label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat composite tracked in ado Bug is being tracked in Team's Azure Dev Ops
Projects
None yet
Development

No branches or pull requests

7 participants