Forum Discussion

voonsionglum's avatar
voonsionglum
Brass Contributor
Dec 19, 2019

Teams Bot on iOS

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_assets/v1/tile_spider.png) seems to work though.  Are there any restrictions to images on Teams?  
 
Thank You

7 Replies

    • voonsionglum's avatar
      voonsionglum
      Brass Contributor

      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"

      • Gousia_Begum's avatar
        Gousia_Begum
        Former Employee

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

Resources