Forum Discussion
Ori_ayache
May 15, 2023Copper Contributor
Adaptive card not Displaying on teams mobile
hey!. my adaptive card doesn't display on moblie teams but it does work on desktop. here is the Json: { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "Adaptiv...
Griffin1235
Nov 27, 2023Copper Contributor
Nivedipa-MSFT Have a similar issue. Teams Adaptive card renders properly on Web/Desktop versions but not on Mobile - IpHone or Android. Is there an update on this issue?
bodei
Sep 09, 2024Copper Contributor
Hi Griffin1235, found two possible ways Teams card can fail on mobiles while ok on desktop:
1) Having an empty image url (I used Power Automate and in my case the link may be null)
{
"type": "Image",
"size": "medium",
"url": "@{variables('LinkToImage')}"
}
2) Duplicate 'title' fields for 'Action.Submit' - as shown below, look for duplicate '"title": "Submit"', change one of them to 'Submitxyz', see if it's fixed. Not sure if this is explicitly not allowed in the Adaptive Card doc.
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
I'm using card v1.4
It seems that the desktop Teams is more forgiving while the mobile clients are a lot more sensitive. Also same case as some of you above, my cards worked for some time then one day it stopped showing. The result of a Teams client update probably.
HTH,
GDB
- AdaptiveCardNewbieDec 30, 2024Copper Contributor
Duplicate 'title' fields solve my issue! thanks.