Forum Discussion
Adaptive card not Displaying on teams mobile
Nivedipa-MSFT Is there an update on this issue? I am seeing the same thing.
- bodeiSep 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
- vfan140Dec 21, 2023Copper Contributoruse this json for the adaptive-card, display well on the IOS, but fail on Android.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "hh",
"wrap": true,
"size": "medium"
}
]
} - vfan140Dec 21, 2023Copper ContributorIs there an update on this issue? I am seeing the same thing.
- Griffin1235Nov 28, 2023Copper Contributorsmendigor Please share your Android/iOS and mobile team versions so we can test on the same ones.
- smendigorNov 27, 2023Copper Contributor
I found the issue here, it was because of a column set that we used in the Adaptive card, some are not compatible to the images. What I did is I removed the column set and try to put it in a container.
Maybe you can try first to remove the column set if you are using it then check if the image will appear on your mobile.
- Griffin1235Nov 27, 2023Copper ContributorNivedipa-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?
- smendigorJul 27, 2023Copper Contributor
What did you do? I'm using also Azure Logic Apps and have some image in my adaptive card.
- Chris_BrydgesJul 06, 2023Copper ContributorWe have got this to work, we were using Logic Apps. We were dynamically passing images, if there wasnt one we were sending "" as the URL, this was causing the card to not work on Mobile, but working ok on desktop.
- Nivedipa-MSFTJul 04, 2023Microsoft
Sannjeevr - Apologies for late reply.
We have tested this via Power Automate and on Teams web client. Also on Android 12 and Android Teams version 1416/1.0.0.2023133201/0721 It was working fine at our end. The card is displaying correctly.
Android
Could you please test this again and confirm once?
Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. - SannjeevrJun 27, 2023Microsoft
Nivedipa-MSFT - Power Automate