Adaptivecards: [MSTeams][iOS] isvisible: false not working

Created on 11 Jun 2020  路  3Comments  路  Source: microsoft/AdaptiveCards

Platform

What platform is your issue or question related to? (Delete other platforms).

  • iOS

Author or host

Are you an author (like sending something to Outlook), or a host that is rendering your own cards? If host, please specify the corresponding host (app) name.
Author
If you're an author, who are you sending cards to?
Teams Bot

Version of SDK

v1.2

Details

When using adaptive card as a chatbot response, I set visible:false in the body but it is not working, still showing as default. For the desktop version, it works, but not working on iOS mobile.
Here is the example of my code style

{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "Input.Text",
"id": "activity",
"value": "{\"attachments\":[],\"channelId\":\"msteams\",\"serviceUrl\":\"https://smba.trafficmanager.net/apac/\",\"conversation\":{\"conversationType\":\"personal\"}",
"isVisible": false
}
]
}
}

Bug MSTeams-Developer-Support Msft-TeamsMobile

All 3 comments

Hi @summertony15. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

Labeled issue MSTeams-Developer-Support
Justification:
It's a basic use case & it's not reproducible on sample app.

Do you have any updates?

Was this page helpful?
0 / 5 - 0 ratings