Adaptive card not Displaying on teams android mobile

Copper Contributor

my adaptive card doesn't display on android mobile but work on desktop/web/ios.

 

here is my json:

 

{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.3",
  "body": [
    {
       "type": "TextBlock",
       "text": "hi~",
       "wrap": true,
       "size": "medium"
    }
  ]
}

 

 

and the code i use adaptive-card:

 

import { AdaptiveCards } from '@microsoft/adaptivecards-tools'

const json = {
   // ....
}

const adaptiveCard = AdaptiveCards.declare(json).render()
// member -> `BotBuilderCloudAdapter.Member`
member.sendAdaptiveCard(adaptiveCard)

 

 

teams app versions:

1416/1.0.0.2023134402/0802

 

 

 

7 Replies
Hello vfan140 - Thanks for raising your query.
We will look into it and let you know the updates.

@vfan140  - We have tested this in teams version  1416/1.0.0.20232123504/1120 in Android version 13 mobile, it is working fine 
Screenshot_20231225_145530_Teams.jpg
Could you please refer this Adaptive cards  Sample in Node js   https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-all-cards/nodejs 

@SaiPratap-MSFT Refer this sample in my code, still not work on android...here is my code, can you give some suggestion for me??

 

My Android version is 12.

 

1595827098.png

 

More code in codesandbox : https://codesandbox.io/p/sandbox/teams-app-y5pzvk 

 

@vfan140  -  Could you please try by upgrading your mobile and teams. Also try by logging  out and Logging in.

@SaiPratap-MSFT  I use Android 13 and the lastest version of teams,still not work

 

android.jpgteams.jpg

Hello,
Thanks for the confirmation.
Could you please deploy your code, if possible and share the app package, so that we can quickly test your issue?

Hello @vfan140 - We have tried to setup your code but getting lots of errors and .env file is also missing.

Could you please share the complete code or please deploy your code so that we can quickly test it.