[MS Teams] Bot's answer is shown *before* the question with MS Teams app (iOS)
Pre-flight checklist
- [ ] I posted a question about this issue on Stack Overflow using the tag
botframework. - [X] I have searched the existing issues before logging a new one.
System Information (Required)
- SDK Pletform: Node
- SDK Version: 3.7.0
- Development Environment: Azure App Service + MS Teams
Issue Description
Bot responses are shown in incorrect order with MS Teams iOS app (see screenshot). When using Android App or MS Teams (desktop/web), the issue cannot be reproduced. However, when chatting with MS T-Bot, the responses are shown in correct order also with iOS app.
Question is: Is the bug in iOS / Botbuilder framework / Bot implementation? Is there something that can be done, to help the client to show messages in right order and should this issue be escalated to iOS development team?
Expected Behavior
So question first, answer next.
Actual Results
With iOS app, the answer appears before the question. See attached screenshot.
@juhamust can you post your bot code that is causing this issue? thx
Can confirm, I am able to reproduce this bug on iOS. The response message gets displayed before the question message that triggers it.
@juhamust: Are you developing something or just testing the app on iOS? If this is something you're working on, can you share your botID? Thanks!
Hi all, sorry for the delay with the response.
@SheriEllisMSFT I can share the botID, but you won't be able to test it, because there is an additional Active Directory authentication it requires. I can't share the full code, but now there is a partial and anonymised code available as gist. Hopefully you'll find it helpful.
https://gist.github.com/juhamust/885f5f199be9d676cd0559be823a2edc
Also, sounds like @nwhitmont managed to reproduce the issue with some different bot?
@juhamust Yes I was able to reproduce this error with one of my test bots, so its a general issue.
Thanks for reporting. We are actively working to fix the issue.
Any updates on this? Or is there a separate ticket where the progress can be followed instead? Thanks.
There have been out of order delivery issues in the past but I believe they have been resolved.