Forum Discussion
Adaptive card is not rendered on android phone
- Feb 16, 2020
jobinesh I could not repro the issue with Adaptive card on mobile.The card you shared renders fine on mobile:
Could you please try changing the type of card to "AdaptiveCard" instead of "AdaptiveCards"? Also could you please confirm if you have the latest version of Teams app?
jobinesh I could not repro the issue with Adaptive card on mobile.The card you shared renders fine on mobile:
Could you please try changing the type of card to "AdaptiveCard" instead of "AdaptiveCards"? Also could you please confirm if you have the latest version of Teams app?
Gousia_Begum Thanks. If I change "type":"AdaptiveCards" it works on mobile as well.
- shnippi_esgroupAug 17, 2020Copper Contributor
jobinesh Hello i have the exact same problem with a card i did by myself: it renders on pc just fine, but not on mobile.
{ schema: "http://adaptivecards.io/schemas/adaptive-card.json", version: "1.0.0", type: "AdaptiveCard", body: [ { type: "TextBlock", //text: taskDefination[state] + " [" + tasks.length + "]", }, ...tasks.map((t) => ( { type: "ColumnSet", separator:true, height : "auto", spacing: "padding", columns: [ { type: "Column", items: [ { type: "Image", url : t.src }, ], }, { type: "Column", items: [ { type: "TextBlock", text: t.receiptNo, weight: "bolder", horizontalAlignment: "center" }, ], }, { type: "Column", items: [ { type: "ActionSet", actions: [ { type: "Action.Submit", //id: "btnBuy", style : "positive", title: "Show Expense", data: { taskId: t.receiptNo, msteams: { type: "task/fetch", }, }, }, ], }, ], }, ], } )), ], }