question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Teams for Android][botframework] Adaptive card not displaying

See original GitHub issue

Platform

  • typescript/javascript
  • Android

Author

Microsoft Teams for Android

Version of SDK

I’m sending the card from the botbuilder 4.7.0

Details

I’m sending the card from the botbuilder and on Teams desktop the card works perfectly fine. On the other hand, on Android the card is empy.

These are the results.

MS Teams desktop: image

MS Teams for Android: image

This is the code: CardFactory.adaptiveCard({ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "New TextBlock" }, { "type": "Input.ChoiceSet", "placeholder": "Placeholder text", "choices": [ { "title": "Choice 1", "value": "Choice 1" }, { "title": "Choice 2", "value": "Choice 2" } ], "style": "expanded", "id": "1" }, { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": "Action.Submit" } ] } ] })

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JbIPScommented, May 12, 2020

If it can help someone, I also had this problem and by removing part of my JSON I found out an image without url (a missing value when templating).

So, card not appearing on mobile (it was iOS and Android) seems to be related to an incomplete JSON (not error found in Visualizer or Designer).

Hope that help!

0reactions
paulcam206commented, Nov 29, 2021

Closing as this issue appears to have been figured out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Teams Bot Adaptive card not rendering in mobile ...
Microsoft Teams Bot - Adaptive card not displaying in android mobile app, it works fine in desktop app, json as below, also other...
Read more >
Adaptive Card not Displaying On Teams Mobile
Hey everyone, I've been messing with Power Automate to create Adaptive Cards after every day to update the team on how we're doing....
Read more >
Adaptive Cards not Displaying in Microsoft Teams - Matt Jimison
To fix the issue, go back and edit the flow and change the version from “1.5” to “1.4” and re-run; at this point,...
Read more >
Adaptive Cards
A conversational bot powered by Adaptive Cards can greatly simplify business workflows on your web site or through other channels. Microsoft Teams logo ......
Read more >
Troubleshooting Adaptive Cards
The most likely explanation is that your adaptive card is not properly formed. It may be syntactically valid, but not semantically valid.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found