Forum Discussion
AdaptiveCard is not rendered on Android
Hi! I having this message AdaptiveCard message but on some versions of android the AdaptiveCard is not rendered (empty block). I am using 1.4 version of AdaptiveCard. Is there any limitations of Android SO version? What I can do?
Thank you!
[
{
"type": "message",
"inputHint": "acceptingInput",
"attachments": [
{
"content": {
"body": [
{
"text": "ΒΏLorem ipsum?",
"type": "TextBlock",
"wrap": true,
"weight": "Bolder"
},
{
"text": "Pregunta 1",
"type": "TextBlock",
"wrap": true,
"isSubtle": true
}
],
"type": "AdaptiveCard",
"actions": [
{
"data": {
"org": "test",
"type": "answer",
"answer": "1",
"chatId": "2505",
"locale": "es",
"msteams": {
"text": "π’",
"type": "messageBack",
"displayText": "π’"
},
"options": [
{ "text": "π’", "value": "1" },
{ "text": "π", "value": "2" },
{ "text": "π", "value": "3" },
{ "text": "π", "value": "4" },
{ "text": "π", "value": "5" }
],
"questionId": "1",
"questionText": "Lorem ipsum",
"questionContextText": "Pregunta 1"
},
"type": "Action.Submit",
"title": "π’",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.4"
}
]
},
"contentType": "application/vnd.microsoft.card.adaptive"
}
],
"attachmentLayout": "list"
}
]
- Sayali-MSFTMicrosoft
polbac -We are unable to repro the issue. it's working fine for us.
Teams Version:-1416/1.0.0Android Version:-8.1.0
Could you just check it once or share the Repro steps?
- alanszpCopper Contributor
Sayali-MSFT Thanks for the response!
I'm part of polbac 's team.
The Adaptative Card is working. We have this chatbot deployed and working on teams across many platforms (Android, IOS & Web).
The problem that polbac stated, is that it seems that in certain OS or APP Version this adaptative card didn't showed, and only appeared a blank message.
We need to understand if there is a retro-compatibility issue and when this message became available, so we can do 2 things:
- Ask our clients to have installed Teams version X or up
- Change the way the message is sent so it's 100% retrocompatible with any platform/version.
Can you help us with that?
Thanks
- Sayali-MSFTMicrosoftalanszp - Have you tried it once with lower adaptive card version like (1.0 , 1.2)?
- ChetanSharma-msftMicrosoftWe will check on it and let you know the updates.