Forum Discussion
jobinesh
Feb 14, 2020Copper Contributor
Adaptive card is not rendered on android phone
Hi We have an external bot configured to use MS Teams channel using message end point web hook. The following is the message posted to the Ms Teams channel by the external bot. This response gets ...
- 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?
shnippi_esgroup
Aug 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",
},
},
},
],
},
],
},
],
}
)),
],
}adicm
Jun 01, 2021Copper Contributor
Facing the same issue. Have used only "AdaptiveCard" as the type everywhere. Were you able to find a solution?