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

In iOS teams channel, compose extension result adaptive card not insert into compose box #11736

Open
yungfu opened this issue Oct 25, 2024 · 3 comments
Assignees
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@yungfu
Copy link

yungfu commented Oct 25, 2024

Steps to reproduce

I have an action based compose extension, when task module dialog submitted, an adaptive card result will be inserted in to compose box.
Extension worked well as expected, an adaptive card will inserted into compose box in personal conversion, group conversation and teams post in web teams clients, desktop teams client, and android.
But in iOS, this feature worked well in personal and group conversation, when submit compose extension in teams channel posts, no adaptive card inserted into compose box, and compose box closed automatically.

My adaptive card only contains one Textblock for test, defined as following:

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.4",
    "body": [
        {
            "type": "TextBlock",
            "text": "test ios",
            "size": "small",
            "wrap": true
        }
    ]
}

Teams invoke response as following:

{
    "composeExtension": {
        "attachments": [
            {
                "content": {
                    "type": "AdaptiveCard",
                    "body": [
                        {
                            "color": null,
                            "horizontalAlignment": null,
                            "isSubtle": false,
                            "maxLines": 0,
                            "size": "small",
                            "text": "test ios",
                            "weight": null,
                            "wrap": true,
                            "separator": false,
                            "type": "TextBlock"
                        }
                    ],
                    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
                    "version": "1.2"
                },
                "contentType": "application/vnd.microsoft.card.adaptive",
                "preview": {
                    "content": {
                        "type": "AdaptiveCard",
                        "body": [
                            {
                                "color": null,
                                "horizontalAlignment": null,
                                "isSubtle": false,
                                "maxLines": 0,
                                "size": "small",
                                "text": "test ios",
                                "weight": null,
                                "wrap": true,
                                "separator": false,
                                "type": "TextBlock"
                            }
                        ],
                        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
                        "version": "1.2"
                    },
                    "contentType": "application/vnd.microsoft.card.adaptive"
                }
            }
        ],
        "type": "result",
        "attachmentLayout": "list"
    },
    "responseType": "composeExtension"
}

Another question, I found client received message adaptive card version is "1.2", but my bot host send version is "1.4". I cannot found why the version changed.

Expected behavior

Teams channel compose extension result adaptive card will insert into compose box in iOS client.

Actual behavior

Compose extension result adaptive card didn't insert into compose box in iOS, in teams channel posts. and compose box closed automatically.
But it worked well in other platform, and worked well in web teams client and desktop client.

Error details

NO Error.

Copy link
Contributor

Hi yungfu! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@sayali-MSFT
Copy link

@yungfu - Thanks for reporting your issue.
We will check this at our end and will get back to you.

@ChetanSharma-msft ChetanSharma-msft added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Oct 28, 2024
@sayali-MSFT
Copy link

sayali-MSFT commented Oct 28, 2024

@yungfu - We are able to repro that issue, we have raised bug for the same. We will inform you once we get any update.
IOS Teams Version-6.18.77.2024182602/0928
IOS Version-17.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

4 participants