Teams Bot on iOS

Brass Contributor

Hi,

 

We created a Teams Bot that is displaying Adaptive Cards to users.  We found that the Bot is currently unable to display Action buttons on iOS devices.  The action button is placed in a column.  Below is the corresponding JSON snippet 

 

{
	"type": "Column",
	"width": "stretch",
	"items": [
		{
			"type": "ActionSet",
			"actions": [
				{
					"type": "Action.Submit",
					"title": "Yes, Approved",                                            
					"style": "positive",
					"data": {
						"approvalStatus": "approved"
					},											
				}
			]
		}
	]
}

 

The action buttons show up correctly in Microsoft Teams on Android and Windows, but for some reason, they don't show up on iOS devices.  Has anyone come across this issue?

 

In addition, we have included an SVG image in our Adaptive Card, but for some reason, the SVG image does not show up in Microsoft Teams on all platforms.  The SVG image loads correctly in the Bot Emulator and in https://adaptivecards.io/designer/.  Replacing the SVG image with a PNG file, (eg. 

https://download-ssl.msgamestudios.com/content/mgs/ce/production/SolitaireWin10/dev/adapative_card_a...) seems to work though.  Are there any restrictions to images on Teams?  
 
Thank You
7 Replies

@voonsionglum Could you please share the app version on which you are seeing this issue?

@Gousia_Begum Thanks for your reply and my apologies for the late response.  The bot was built using NodeJS.  Here is the dependencies section for the NodeJS Bot

 

 

 

    "dependencies": {
        "botbuilder": "^4.6.1",
        "botbuilder-ai": "^4.7.0",
        "botframework-connector": "^4.6.2",
        "dotenv": "^8.2.0",
        "request": "^2.88.0",
        "restify": "8.3.3"
    },

 

We are seeing the action buttons issue on the "Microsoft Teams" iOS App version 1.0.92 

 

We are seeing the SVG image issue on the Windows version of "Microsoft Teams"

@voonsionglum Please let us know the version of the Teams mobile app you are using. You could get that under Settings->About.

@Gousia_Begum It's 1.0.92 (iOS version)

@voonsionglum Could you please share the complete adaptive card json ?

 

@voonsionglum We have investigated this and seems like the issue is fixed in inner builds. This will be fixed on public builds soon. Thanks!!

@Gousia_Begum Thank You very much!