Skip to content

[Bug]: Adaptive cards not render on Android #238

@aviadpriel

Description

@aviadpriel

Bug Description

When I get a compose event from Android, the cards do not look well on Android.

Event:
{
"name": "composeExtension/fetchTask",
"type": "invoke",
"timestamp": "2025-12-17T13:42:02.737Z",
"localTimestamp": "2025-12-17T15:42:02.737+02:00",
"id": "f:d468973e-be0b-69c0-5c1e-924760de0d24",
"channelId": "msteams",
"serviceUrl": "https://smba.trafficmanager.net/il/4af974d3-98ed-4c0e-959d-a8a6eabb1fe5/",
"from": {
"id": "29:114c11S8H1LwAlZTqNwwNAAhDqJn09RzzX1tsqBxMWbBvfX4bGbSyuy6E_s6wDLchkRf6kfM50AC3vyCEJRjtjQ",
"name": "Aviad Priel",
"aadObjectId": "370e1b14-a393-4d7b-aa59-da2d1500943d"
},
"conversation": {
"conversationType": "personal",
"tenantId": "4af974d3-98ed-4c0e-959d-a8a6eabb1fe5",
"id": "a:1Ml6uqvuo7GSOM2AZZX0EySpFNQXXGQT6f3iQ-JyuKz3mAWkZF5Fbf3iSoDeXPVgzyN2dkRy_U-npOjFrqAu25kdZzOpq6VvcAVQ5B5S4fCPb75l-9rDjyYAsHJY0Q3Am"
},
"recipient": {
"id": "28:ad596c08-aa7c-4c30-88f1-e829f26c084e",
"name": "chamelio-local-bot"
},
"entities": [
{
"locale": "en-US",
"country": "US",
"platform": "Android",
"timezone": "Asia/Jerusalem",
"type": "clientInfo"
}
],
"channelData": {
"tenant": {
"id": "4af974d3-98ed-4c0e-959d-a8a6eabb1fe5"
},
"source": {
"name": "compose"
},
"legacy": {
"replyToId": "1:1C5t23F4GBgk06KBiIOVQKvoPA5Fh5vvzUlVt6ETIJFY"
}
},
"replyToId": "0",
"value": {
"commandContext": "compose",
"commandId": "workflows_intake_get_forms",
"context": {
"theme": "dark"
}
},
"locale": "en-US",
"localTimezone": "Asia/Jerusalem"
}

Response (work well on Web/Desktop):

{
"task": {
"type": "continue",
"value": {
"title": "Select a Workflow",
"height": 400,
"width": 500,
"card": {
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"requires": {},
"body": [
{
"type": "TextBlock",
"requires": {},
"isVisible": true,
"text": "Pick a form to run:",
"size": "Medium",
"weight": "Bolder"
},
{
"type": "Input.ChoiceSet",
"id": "standard_workflow_id_selection_block_id_action_id",
"requires": {},
"isVisible": true,
"label": "Available Forms",
"isRequired": true,
"choices": [
{
"title": "Service provider agreement by Teams 8.12",
"value": "70413b45-8333-4c08-9130-4073d9dfbe1b"
}
],
"wrap": true
}
],
"actions": [
{
"type": "Action.Submit",
"requires": {},
"title": "Next →",
"isEnabled": true,
"data": {
"msteams": {
"type": "task/fetch",
"value": null
},
"callback_id": "submit_intake_form_selection_modal",
"action": "show_intake_form"
},
"associatedInputs": "auto"
}
]
}
}
}
}
}

Image

Steps to Reproduce

Send an event from Android
Try sending adaptive cards to Android

Expected Behavior

See the form on Android

Actual Behavior

Image

SDK Version

2.0.0a8

Python Version

3.13

Additional Context

The issue was also on the previous versions like 2.0.0a6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions