[Teams for Android][botframework] Adaptive card not displaying
See original GitHub issuePlatform
- 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:
MS Teams for Android:
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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
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!
Closing as this issue appears to have been figured out.